Fix opening pp gui with another inventory open

This commit is contained in:
Esophose 2020-03-29 16:59:56 -06:00
parent 2d6405af8e
commit 413f3cf97c

View file

@ -116,8 +116,8 @@ public class GuiManager extends Manager implements Listener, Runnable {
inventoryToOpen = new GuiInventoryLoadPresetGroups(pplayer, true);
}
this.guiInventories.add(inventoryToOpen);
pplayer.getPlayer().openInventory(inventoryToOpen.getInventory());
this.guiInventories.add(inventoryToOpen);
}
/**