commit 9ba523809275b8bf943f721aeb3cd92780637cd0
parent 2642d566aca4d089a52cfaf5ccf218a302c9857e
Author: BuildTools <unconfigured@null.spigotmc.org>
Date: Tue, 28 Feb 2023 21:27:23 +0300
Fix ladder gaps
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/eosl/nostalgic_bugs/features/LadderGaps.java b/src/main/java/eosl/nostalgic_bugs/features/LadderGaps.java
@@ -23,7 +23,7 @@ public class LadderGaps
EntityLiving self = ((EntityLiving) ((Object) this));
int x = MathHelper.floor_double(self.posX);
int yd = MathHelper.floor_double(self.boundingBox.minY);
- int yu = MathHelper.floor_double(self.boundingBox.maxY);
+ int yu = yd + 1;
int z = MathHelper.floor_double(self.posZ);
int id1 = self.worldObj.getBlockId(x, yd, z);