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

@@ -18,10 +18,10 @@ index bf608c0bad8f1cd99f27b610c0d6dfa4d638374d..3f0b62c733c62b8d1a9fc6494d787c98
// this.world.globalLevelEvent(1023, new BlockPosition(this), 0);
int viewDistance = ((ServerLevel) this.level).getCraftServer().getViewDistance() * 16;
diff --git a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
index 4a71ef25c59416f6f494a318935a5531311bb6a1..aff12279877c8786f9fa3a047c853df9359d88b7 100644
index 001e60ae60d5b83136252553dd96c022fea8b6b1..38be9d24d61c9d95e4379e6d8fd11127da6ee143 100644
--- a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
+++ b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
@@ -2555,6 +2555,7 @@ public class PurpurWorldConfig {
@@ -2557,6 +2557,7 @@ public class PurpurWorldConfig {
public boolean witherTakeDamageFromWater = false;
public boolean witherCanRideVehicles = false;
public float witherExplosionRadius = 1.0F;
@@ -29,7 +29,7 @@ index 4a71ef25c59416f6f494a318935a5531311bb6a1..aff12279877c8786f9fa3a047c853df9
private void witherSettings() {
witherRidable = getBoolean("mobs.wither.ridable", witherRidable);
witherRidableInWater = getBoolean("mobs.wither.ridable-in-water", witherRidableInWater);
@@ -2576,6 +2577,7 @@ public class PurpurWorldConfig {
@@ -2578,6 +2579,7 @@ public class PurpurWorldConfig {
witherTakeDamageFromWater = getBoolean("mobs.wither.takes-damage-from-water", witherTakeDamageFromWater);
witherCanRideVehicles = getBoolean("mobs.wither.can-ride-vehicles", witherCanRideVehicles);
witherExplosionRadius = (float) getDouble("mobs.wither.explosion-radius", witherExplosionRadius);