From d486cf7105f1f3fc37fba91171253b9442c521c3 Mon Sep 17 00:00:00 2001 From: xjboss Date: Mon, 3 Jul 2017 19:49:24 +0800 Subject: [PATCH] ........ --- .../java/kcauldronx/events/ModInventoryMoveToPlayerEvent.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/kcauldronx/events/ModInventoryMoveToPlayerEvent.java b/src/main/java/kcauldronx/events/ModInventoryMoveToPlayerEvent.java index 76101cf..4d8c5d1 100644 --- a/src/main/java/kcauldronx/events/ModInventoryMoveToPlayerEvent.java +++ b/src/main/java/kcauldronx/events/ModInventoryMoveToPlayerEvent.java @@ -6,13 +6,12 @@ import org.bukkit.craftbukkit.inventory.CraftInventory; import org.bukkit.craftbukkit.inventory.CraftInventoryPlayer; import org.bukkit.craftbukkit.inventory.CraftItemStack; import org.bukkit.event.inventory.InventoryMoveItemEvent; -import org.bukkit.inventory.PlayerInventory; /** * Created by xjboss on 2017/7/3. */ public class ModInventoryMoveToPlayerEvent extends InventoryMoveItemEvent { - public ModInventoryMoveToPlayerEvent(IInventory sourceInventory, net.minecraft.item.ItemStack itemStack, PlayerInventory destinationInventory, boolean didSourceInitiate) { + public ModInventoryMoveToPlayerEvent(IInventory sourceInventory, net.minecraft.item.ItemStack itemStack, InventoryPlayer destinationInventory, boolean didSourceInitiate) { super(new CraftInventory(sourceInventory), CraftItemStack.asCraftMirror(itemStack), new CraftInventoryPlayer((InventoryPlayer)destinationInventory), didSourceInitiate); } }