Cable Anchor Ladders no longer stop being ladders when you stop going up.
This commit is contained in:
@@ -218,7 +218,7 @@ public class PartCableAnchor implements IPart
|
|||||||
@Override
|
@Override
|
||||||
public boolean isLadder(EntityLivingBase entity)
|
public boolean isLadder(EntityLivingBase entity)
|
||||||
{
|
{
|
||||||
return mySide.offsetY == 0 && entity.isCollidedHorizontally;
|
return mySide.offsetY == 0 && ( entity.isCollidedHorizontally || ! entity.onGround );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user