Fix Level leak in debug HUD (#9699)

Co-authored-by: malte0811 <malte0811@web.de>
This commit is contained in:
Paint_Ninjaandmalte0811 authored and GitHub committed 2023-08-30 14:09:51 -07:00
1 parent ab70bde1d6
commit 23cee57d88
1 file changed
+7
@@ -474,6 +474,13 @@ public class ForgeGui extends Gui
}
}
@Override
public void clearCache()
{
super.clearCache();
this.debugOverlay.clearChunkCache();
}
protected void renderRecordOverlay(int width, int height, float partialTick, GuiGraphics guiGraphics)
{
if (overlayMessageTime > 0)