Fix container owner not captured on click (#652)
This commit is contained in:
parent
da56932cf0
commit
3a1700a608
|
@ -1288,7 +1288,9 @@ public abstract class ServerPlayNetHandlerMixin implements ServerPlayNetHandlerB
|
|||
return;
|
||||
}
|
||||
|
||||
ArclightCaptures.captureContainerOwner(this.player);
|
||||
InventoryView inventory = ((ContainerBridge) this.player.containerMenu).bridge$getBukkitView();
|
||||
ArclightCaptures.resetContainerOwner();
|
||||
InventoryType.SlotType type = inventory.getSlotType(packet.getSlotNum());
|
||||
|
||||
InventoryClickEvent event;
|
||||
|
|
Loading…
Reference in New Issue
Block a user