Fix Level leak in debug HUD (#9700)

Co-authored-by: malte0811 <[email protected]>
This commit is contained in:
Paint_Ninjaandmalte0811 authored and GitHub committed 2023-09-02 17:02:03 -07:00
1 parent 21582ef641
commit e85295a837
1 file changed
+7
@@ -496,6 +496,13 @@ public class ForgeGui extends Gui
}
}
@Override
public void clearCache()
{
super.clearCache();
this.debugOverlay.clearChunkCache();
}
protected void renderRecordOverlay(int width, int height, float partialTick, PoseStack pStack)
{
if (overlayMessageTime > 0)