Implement Jikoo's data duplication glitch fix

This commit is contained in:
ShadowRanger 2016-05-05 11:32:01 +10:00
parent 9245b4cc27
commit 1d622b653d

View file

@ -66,9 +66,9 @@ public class OpenInvPlayerListener implements Listener {
player.updateInventory(); player.updateInventory();
} }
SpecialEnderChest chest = plugin.getPlayerEnderChest(player, false); SpecialEnderChest enderChest = plugin.getPlayerEnderChest(player, false);
if (chest != null) { if (enderChest != null) {
chest.playerOnline(player); enderChest.playerOnline(player);
} }
} }
}.runTask(plugin); }.runTask(plugin);