Implement Jikoo's data duplication glitch fix

This commit is contained in:
ShadowRanger 2016-05-04 23:18:20 +10:00
parent ba9396ad5c
commit 9245b4cc27
2 changed files with 0 additions and 10 deletions

View file

@ -23,8 +23,6 @@ import org.bukkit.entity.Player;
import org.bukkit.inventory.Inventory; import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.InventoryHolder; 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.InventoryEnderChest;
import net.minecraft.server.v1_9_R1.InventorySubcontainer; import net.minecraft.server.v1_9_R1.InventorySubcontainer;
@ -75,12 +73,6 @@ public class SpecialEnderChest extends InventorySubcontainer {
owner = (CraftPlayer) p; owner = (CraftPlayer) p;
linkInventory(((CraftPlayer) p).getHandle().getEnderChest()); linkInventory(((CraftPlayer) p).getHandle().getEnderChest());
playerOnline = true; playerOnline = true;
/*
linkInventory(((CraftPlayer) p).getHandle().getEnderChest());
p.saveData();
playerOnline = true;
*/
} }
} }

View file

@ -24,8 +24,6 @@ import org.bukkit.craftbukkit.v1_9_R1.inventory.CraftInventory;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.inventory.Inventory; 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.ContainerUtil;
import net.minecraft.server.v1_9_R1.EntityHuman; import net.minecraft.server.v1_9_R1.EntityHuman;
import net.minecraft.server.v1_9_R1.ItemStack; import net.minecraft.server.v1_9_R1.ItemStack;