diff --git a/src/main/java/com/lishid/openinv/internal/SpecialEnderChest.java b/src/main/java/com/lishid/openinv/internal/SpecialEnderChest.java index 15546b6..2c96c10 100644 --- a/src/main/java/com/lishid/openinv/internal/SpecialEnderChest.java +++ b/src/main/java/com/lishid/openinv/internal/SpecialEnderChest.java @@ -23,8 +23,6 @@ import org.bukkit.entity.Player; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.InventoryHolder; -import com.lishid.openinv.OpenInv; - import net.minecraft.server.v1_9_R1.InventoryEnderChest; import net.minecraft.server.v1_9_R1.InventorySubcontainer; @@ -75,12 +73,6 @@ public class SpecialEnderChest extends InventorySubcontainer { owner = (CraftPlayer) p; linkInventory(((CraftPlayer) p).getHandle().getEnderChest()); playerOnline = true; - - /* - linkInventory(((CraftPlayer) p).getHandle().getEnderChest()); - p.saveData(); - playerOnline = true; - */ } } diff --git a/src/main/java/com/lishid/openinv/internal/SpecialPlayerInventory.java b/src/main/java/com/lishid/openinv/internal/SpecialPlayerInventory.java index f00acae..532f2df 100644 --- a/src/main/java/com/lishid/openinv/internal/SpecialPlayerInventory.java +++ b/src/main/java/com/lishid/openinv/internal/SpecialPlayerInventory.java @@ -24,8 +24,6 @@ import org.bukkit.craftbukkit.v1_9_R1.inventory.CraftInventory; import org.bukkit.entity.Player; import org.bukkit.inventory.Inventory; -import com.lishid.openinv.OpenInv; - import net.minecraft.server.v1_9_R1.ContainerUtil; import net.minecraft.server.v1_9_R1.EntityHuman; import net.minecraft.server.v1_9_R1.ItemStack;