More fixes

This commit is contained in:
Sebastian Hartte
2020-06-29 21:23:50 +02:00
parent 0d63f560d3
commit ca104912d6
121 changed files with 2623 additions and 2563 deletions
@@ -313,7 +313,7 @@ public class PartPlacement {
if (!player.isCreative()) {
held.increment(-1);
if (held.getCount() == 0) {
player.setHeldItem(hand, ItemStack.EMPTY);
player.setStackInHand(hand, ItemStack.EMPTY);
MinecraftForge.EVENT_BUS.post(new PlayerDestroyItemEvent(player, held, hand));
}
}