Allow mini message in anvil (#1145)

This commit is contained in:
Rhythmic (Illo)
2022-10-05 01:24:31 -07:00
committed by GitHub
parent 28fc326003
commit aafe275140
98 changed files with 609 additions and 604 deletions

View File

@@ -23,10 +23,10 @@ index 80674ee4882d2d1c67f78c6bc627e34a78d0c4b0..9cf7cd70492c8769cd3dad1ed57eeff1
this.bossEvent.setProgress(this.getHealth() / this.getMaxHealth());
diff --git a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
index 1ff5a05f5b3c5caf804fd67ff857e9d776e08677..3261f6ca362b199b472570ab7a089215a30960b7 100644
index 3f3dc194f2b11a4fddab9b178db248e8154f693d..f5f2bf775390ac019c811e4c26d817749a2f6645 100644
--- a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
+++ b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
@@ -1700,6 +1700,8 @@ public class PurpurWorldConfig {
@@ -1702,6 +1702,8 @@ public class PurpurWorldConfig {
public boolean witherControllable = true;
public double witherMaxY = 320D;
public double witherMaxHealth = 300.0D;
@@ -35,7 +35,7 @@ index 1ff5a05f5b3c5caf804fd67ff857e9d776e08677..3261f6ca362b199b472570ab7a089215
private void witherSettings() {
witherRidable = getBoolean("mobs.wither.ridable", witherRidable);
witherRidableInWater = getBoolean("mobs.wither.ridable-in-water", witherRidableInWater);
@@ -1715,6 +1717,8 @@ public class PurpurWorldConfig {
@@ -1717,6 +1719,8 @@ public class PurpurWorldConfig {
set("mobs.wither.attributes.max_health", oldValue);
}
witherMaxHealth = getDouble("mobs.wither.attributes.max_health", witherMaxHealth);