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;
}
boolean showParent = open && parent != null;
if (open && closer != null) {
open = !inventory.getViewers().isEmpty();
if (closer != null) {
closer.onClose(new GuiCloseEvent(manager, this, player));
}
if (showParent) {