mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-01-28 22:05:01 +01:00
okay now it works for real
This commit is contained in:
parent
afca03de0b
commit
b1bcb55838
1 changed files with 2 additions and 0 deletions
|
@ -57,6 +57,8 @@ public class DeployerMovingInteraction extends MovingInteractionBehaviour {
|
|||
if (ctx.data.contains("HeldItem")) {
|
||||
player.setItemInHand(activeHand, ItemStack.of(ctx.data.getCompound("HeldItem")));
|
||||
fake.setItemInHand(Hand.MAIN_HAND, heldStack);
|
||||
ctx.tileData.put("HeldItem", heldStack.serializeNBT());
|
||||
ctx.data.put("HeldItem", heldStack.serializeNBT());
|
||||
}
|
||||
ctx.tileData.remove("Inventory");
|
||||
ctx.temporaryData = fake;
|
||||
|
|
Loading…
Reference in a new issue