Removed unused code.

This commit is contained in:
Brianna 2020-12-20 09:32:11 -06:00
parent 57cb6092a6
commit 6f4daab348

View File

@ -857,8 +857,7 @@ public class Gui {
return; return;
} }
boolean showParent = open && parent != null; boolean showParent = open && parent != null;
if (open && closer != null) { if (closer != null) {
open = !inventory.getViewers().isEmpty();
closer.onClose(new GuiCloseEvent(manager, this, player)); closer.onClose(new GuiCloseEvent(manager, this, player));
} }
if (showParent) { if (showParent) {