Skip to content

Commit 4183e2a

Browse files
committed
update to 1.21.4
1 parent 33f736a commit 4183e2a

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

  • src/main/java/io/github/zoltus/onecore/player/command/commands/admin

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@
1010
<!-- Removes warnings -->
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1212
<!-- Api's -->
13-
<spigotAPI.version>1.21.1-R0.1-SNAPSHOT</spigotAPI.version>
13+
<spigotAPI.version>1.21.4-R0.1-SNAPSHOT</spigotAPI.version>
1414
<lombok.version>1.18.34</lombok.version>
1515
<bstats.version>3.1.0</bstats.version>
1616
<vault.version>1.7.1</vault.version>
1717
<!-- TODO Does commandapi ship with this? -->
18-
<nbtapi.version>2.13.2</nbtapi.version>
18+
<nbtapi.version>2.14.1</nbtapi.version>
1919
<apache-compress>1.27.1</apache-compress>
2020
<paperlib.version>1.0.8</paperlib.version>
2121
<placeholderapi.version>2.11.6</placeholderapi.version>
22-
<commandapi.version>9.5.3</commandapi.version>
22+
<commandapi.version>9.7.0</commandapi.version>
2323
<sqlite-jdbc.version>3.45.3.0</sqlite-jdbc.version>
2424
<!-- Maven -->
2525
<maven.compiler.release>21</maven.compiler.release>
2626
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
2727
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
2828
<maven-shade-plugin.version>3.6.0</maven-shade-plugin.version>
29-
<adventure-serializer.version>4.17.0</adventure-serializer.version>
29+
<adventure-serializer.version>4.18.0</adventure-serializer.version>
3030
<adventure-bukkit.version>4.3.4</adventure-bukkit.version>
3131
<worldguard.version>7.0.12</worldguard.version>
3232
<commons-io.version>2.16.1</commons-io.version>

src/main/java/io/github/zoltus/onecore/player/command/commands/admin/Heal.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public void init() {
4040
private void heal(OfflinePlayer target) {
4141
Player p = target.getPlayer();
4242
if (p != null) {
43-
AttributeInstance amount = p.getAttribute(Attribute.GENERIC_MAX_HEALTH);
43+
AttributeInstance amount = p.getAttribute(Attribute.MAX_HEALTH);
4444
if (amount != null) {
4545
p.setHealth(amount.getDefaultValue());
4646
}

0 commit comments

Comments
 (0)