old-bugs

Minecraft: Better than Adventure! mod that brings back bugs from older versions
git clone git://memoryshards.xyz/old-bugs.git
Log | Files | Refs | README | LICENSE

commit 9ba523809275b8bf943f721aeb3cd92780637cd0
parent 2642d566aca4d089a52cfaf5ccf218a302c9857e
Author: BuildTools <unconfigured@null.spigotmc.org>
Date:   Tue, 28 Feb 2023 21:27:23 +0300

Fix ladder gaps

Diffstat:
Msrc/main/java/eosl/nostalgic_bugs/features/LadderGaps.java | 2+-
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);