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
9245b4cc27
commit
1d622b653d
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue