Fix large lags in ContainerCraftGUI
This commit is contained in:
kordum committed 2017-06-26 12:25:36 +03:00
1 parent 868ef735b0
commit 303c98e443
1 file changed
+3 -1
@@ -143,7 +143,9 @@ public class ContainerCraftGUI extends Container {
@Override
public boolean canInteractWith(EntityPlayer player) {
if (player instanceof EntityPlayerMP) {
crafters.add(player);
if (!crafters.contains(player)) {
crafters.add(player);
}
sentNBT.clear();
}
IInventory inventory = window.getInventory();