Merge pull request #43 from ShadowRanger/master

Implement Jikoo's data duplication glitch fix
This commit is contained in:
ShadowRanger 2016-05-05 11:32:40 +10:00
commit e39f009661

View file

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