mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Fix vines and scaffolding not being climbable.
Fix powered rails not spreading power correctly. Closes: #5854
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user