Index: src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== diff --git a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java b/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java --- a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java (revision 3bf75f9c719825476df0f5c8979efcd01105f93e) +++ b/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java (date 1609170790072) @@ -1255,10 +1255,6 @@ } public static void handleInventoryCloseEvent(EntityHuman human) { - // SPIGOT-5799 - no need to fire for when no inventory open - if (human.activeContainer == human.defaultContainer) { - return; - } InventoryCloseEvent event = new InventoryCloseEvent(human.activeContainer.getBukkitView()); human.world.getServer().getPluginManager().callEvent(event); human.activeContainer.transferTo(human.defaultContainer, human.getBukkitEntity());