mirror of
https://github.com/TotalFreedomMC/OpenInv.git
synced 2024-12-23 00:15:08 +00:00
Implement Jikoo's data duplication glitch fix
This commit is contained in:
parent
ba9396ad5c
commit
9245b4cc27
2 changed files with 0 additions and 10 deletions
|
@ -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;
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue