mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 19:59:42 +00:00
Fix being kicked from server when climbing ladders.
This commit is contained in:
1 parent
8fefac110e
commit
2a4067a539
1 file changed
+1
-1
@@ -500,7 +500,7 @@
|
||||
IBlockState iblockstate = this.func_180495_p(blockpos$pooledmutableblockpos.func_185343_d(k1, l1, i2));
|
||||
|
||||
- if (iblockstate.func_185904_a() != Material.field_151579_a)
|
||||
+ if (iblockstate.func_177230_c().isAir(iblockstate, this, new BlockPos(k1, l1, i2)))
|
||||
+ if (!iblockstate.func_177230_c().isAir(iblockstate, this, new BlockPos(k1, l1, i2)))
|
||||
{
|
||||
blockpos$pooledmutableblockpos.func_185344_t();
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user