Fixed Bug: #0926 - Vanilla levers cannot be flipped while holding Quartz Fixture

This commit is contained in:
AlgorithmX2
2014-08-19 00:05:05 -05:00
parent b2c01ddae8
commit aa3ecfa575
+3 -3
View File
@@ -88,9 +88,9 @@ public class FMPEvent
&& block.onBlockActivated( world, hit.blockX, hit.blockY, hit.blockZ, player, hit.sideHit, (float) f.x, (float) f.y, (float) f.z ) )
{
player.swingItem();
PacketCustom.sendToServer(new C08PacketPlayerBlockPlacement( hit.blockX, hit.blockY, hit.blockZ, hit.sideHit, player.inventory.getCurrentItem(), (float) f.x,
(float) f.y, (float) f.z ) );
return false;
PacketCustom.sendToServer( new C08PacketPlayerBlockPlacement( hit.blockX, hit.blockY, hit.blockZ, hit.sideHit, player.inventory
.getCurrentItem(), (float) f.x, (float) f.y, (float) f.z ) );
return true;
}
}