Ignore neighbor changes for comparators on the client (Vanilla behavior) (#4186)

This commit is contained in:
diesieben07 2017-08-01 20:38:57 +02:00 committed by LexManos
parent 7df003c3e7
commit b7e56a61b9
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
+ @Override
+ public void onNeighborChange(IBlockAccess world, BlockPos pos, BlockPos neighbor)
+ {
+ if (pos.func_177956_o() == neighbor.func_177956_o() && world instanceof World)
+ if (pos.func_177956_o() == neighbor.func_177956_o() && world instanceof World && !((World) world).field_72995_K)
+ {
+ func_189540_a(world.func_180495_p(pos), (World)world, pos, world.func_180495_p(neighbor).func_177230_c(), neighbor);
+ }