                      return true;
                  }
              }
+@@ -735,6 +739,9 @@ public abstract class GuiContainer extends GuiScreen
+      */
+     public void onGuiClosed()
+     {
++		// TODO: Client
++		WurstClient.INSTANCE.mods.chestEspMod.closeChest(inventorySlots);
++    	
+         if (this.mc.thePlayer != null)
+         {
+             this.inventorySlots.onContainerClosed(this.mc.thePlayer);
 diff --git a/net/minecraft/client/gui/inventory/GuiContainerCreative.java b/net/minecraft/client/gui/inventory/GuiContainerCreative.java
 index 7ed3f4f..05c3eb8 100644
 --- a/net/minecraft/client/gui/inventory/GuiContainerCreative.java

             }
         }
     }
@@ -721,7 +721,7 @@ public abstract class GuiContainer extends GuiScreen
             {
                 if (keyCode == this.mc.gameSettings.keyBindsHotbar[i].getKeyCode())
                 {

             }
 
             this.doubleClick = false;
@@ -583,12 +587,12 @@ public abstract class GuiContainer extends GuiScreen
 
                     if (k != -1 && this.draggedStack != null && flag2)
                     {
