Update to MC 1.12-pre2
This commit is contained in:
@@ -22,15 +22,15 @@ index 621bf7051..f24839378 100644
|
||||
+ }
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/server/EntitySquid.java b/src/main/java/net/minecraft/server/EntitySquid.java
|
||||
index 549e3434b..bc0652874 100644
|
||||
index 20b71b455..ee8e50706 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntitySquid.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntitySquid.java
|
||||
@@ -0,0 +0,0 @@ public class EntitySquid extends EntityWaterAnimal {
|
||||
}
|
||||
|
||||
public boolean cM() {
|
||||
- return this.locY > 45.0D && this.locY < (double) this.world.K() && super.cM();
|
||||
+ return this.locY > world.paperConfig.squidMinSpawnHeight && this.locY < world.paperConfig.squidMaxSpawnHeight && super.cM(); // Paper - Configurable squid spawn height range
|
||||
public boolean P() {
|
||||
- return this.locY > 45.0D && this.locY < (double) this.world.getSeaLevel() && super.P();
|
||||
+ return this.locY > world.paperConfig.squidMinSpawnHeight && this.locY < world.paperConfig.squidMaxSpawnHeight && super.P(); // Paper - Configurable squid spawn height range
|
||||
}
|
||||
|
||||
public void b(float f, float f1, float f2) {
|
||||
|
||||
Reference in New Issue
Block a user