fixed timings, fixes #291
This commit is contained in:
1 parent
e7170ddef9
commit
64310ed84b
1 file changed
+1
@@ -390,6 +390,7 @@ public class EntityPlayerActionPack
|
|||||||
{
|
{
|
||||||
player.interactionManager.processBlockBreakingAction(pos, PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, side, player.server.getWorldHeight());
|
player.interactionManager.processBlockBreakingAction(pos, PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, side, player.server.getWorldHeight());
|
||||||
ap.currentBlock = null;
|
ap.currentBlock = null;
|
||||||
|
ap.blockHitDelay = 5;
|
||||||
blockBroken = true;
|
blockBroken = true;
|
||||||
}
|
}
|
||||||
player.world.setBlockBreakingInfo(-1, pos, (int) (ap.curBlockDamageMP * 10));
|
player.world.setBlockBreakingInfo(-1, pos, (int) (ap.curBlockDamageMP * 10));
|
||||||
|
|||||||
Reference in new issue
Block a user