mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 11:59:25 +00:00
Fixed typo in bounding box based ladder checks that caused potential infinite loops with entities in certian positions. Thanks Overmind for reporting it.
This commit is contained in:
1 parent
70671858c2
commit
dbd19b0cad
1 file changed
+1
-1
@@ -365,7 +365,7 @@ public class ForgeHooks
|
||||
int mX = MathHelper.floor_double(bb.minX);
|
||||
int mY = MathHelper.floor_double(bb.minY);
|
||||
int mZ = MathHelper.floor_double(bb.minZ);
|
||||
for (int y2 = mY; y < bb.maxY; y2++)
|
||||
for (int y2 = mY; y2 < bb.maxY; y2++)
|
||||
{
|
||||
for (int x2 = mX; x2 < bb.maxX; x2++)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user