fix build issue

This commit is contained in:
Ben Kerllenevich
2023-06-11 22:04:37 -04:00
parent 866df4ad0e
commit 788c14f02c
77 changed files with 586 additions and 586 deletions

View File

@@ -18,10 +18,10 @@ index 24fc4934f2193806fa38c8c3b0ad4cbfc53650a6..bd38dad0a38a60a0421ee62e52ef7009
// this.level().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 adb662181b627e7cd5aa34fc2947afd8c32a5ba6..96871b1bbf2f7760da0d6a7426664af183ccbf04 100644
index f74fd68281bc1895839b592a3b1bd49017e3f96f..471020063a8e1f5fb23c3f66823ff7fc19b3ddff 100644
--- a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
+++ b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
@@ -2600,6 +2600,7 @@ public class PurpurWorldConfig {
@@ -2597,6 +2597,7 @@ public class PurpurWorldConfig {
public boolean witherTakeDamageFromWater = false;
public boolean witherCanRideVehicles = false;
public float witherExplosionRadius = 1.0F;
@@ -29,7 +29,7 @@ index adb662181b627e7cd5aa34fc2947afd8c32a5ba6..96871b1bbf2f7760da0d6a7426664af1
private void witherSettings() {
witherRidable = getBoolean("mobs.wither.ridable", witherRidable);
witherRidableInWater = getBoolean("mobs.wither.ridable-in-water", witherRidableInWater);
@@ -2621,6 +2622,7 @@ public class PurpurWorldConfig {
@@ -2618,6 +2619,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);