Patches 100-260 (#2729)
This commit is contained in:
@@ -7,16 +7,16 @@ If the dragon tries to find "ground" and hits a hole, or off edge,
|
||||
it will infinitely keep looking for non air and eventually crash.
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/DragonControllerLandedFlame.java b/src/main/java/net/minecraft/server/DragonControllerLandedFlame.java
|
||||
index a75128f966..98e15834ab 100644
|
||||
index c42de9771..40a8beff5 100644
|
||||
--- a/src/main/java/net/minecraft/server/DragonControllerLandedFlame.java
|
||||
+++ b/src/main/java/net/minecraft/server/DragonControllerLandedFlame.java
|
||||
@@ -0,0 +0,0 @@ public class DragonControllerLandedFlame extends AbstractDragonControllerLanded
|
||||
double d2 = this.a.bA.locY + (double) (this.a.bA.getHeight() / 2.0F);
|
||||
double d3 = d2;
|
||||
BlockPosition.MutableBlockPosition blockposition_mutableblockposition = new BlockPosition.MutableBlockPosition(d0, d2, d1);
|
||||
|
||||
- while (this.a.world.isEmpty(blockposition_mutableblockposition)) {
|
||||
+ while (this.a.world.isEmpty(blockposition_mutableblockposition ) && d2 > 0) { // Paper
|
||||
--d2;
|
||||
blockposition_mutableblockposition.c(d0, d2, d1);
|
||||
}
|
||||
--d3;
|
||||
if (d3 < 0.0D) {
|
||||
d3 = d2;
|
||||
--
|
||||
Reference in New Issue
Block a user