Fix vines and scaffolding not being climbable.

Fix powered rails not spreading power correctly. Closes: #5854
This commit is contained in:
LexManos committed 2019-06-24 20:05:50 -07:00
1 parent c90d42973d
commit f4598a97f7
4 files changed
+31 -5

No files matched your search

@@ -384,7 +384,7 @@ public class ForgeHooks
if (isSpectator) return false;
if (!ForgeConfig.SERVER.fullBoundingBoxLadders.get())
{
return state.getBlock().isLadder(state, world, pos, entity);
return state.isLadder(world, pos, entity);
}
else
{
@@ -400,7 +400,7 @@ public class ForgeHooks
{
BlockPos tmp = new BlockPos(x2, y2, z2);
state = world.getBlockState(tmp);
if (state.getBlock().isLadder(state, world, tmp, entity))
if (state.isLadder(world, tmp, entity))
{
return true;
}