From 2a4067a53910c6895c780936d456cbd0067f74aa Mon Sep 17 00:00:00 2001 From: LexManos Date: Thu, 7 Apr 2016 13:12:10 -0700 Subject: [PATCH] Fix being kicked from server when climbing ladders. --- patches/minecraft/net/minecraft/world/World.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/world/World.java.patch b/patches/minecraft/net/minecraft/world/World.java.patch index cae7214a0..5e1530d23 100644 --- a/patches/minecraft/net/minecraft/world/World.java.patch +++ b/patches/minecraft/net/minecraft/world/World.java.patch @@ -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;