Fix Level leak in debug HUD (#9701)

This commit is contained in:
Paint_Ninja authored and GitHub committed 2023-09-03 11:03:37 -07:00
1 parent 0f6d11b1ee
commit e2c1da98be
1 file changed
+7
@@ -499,6 +499,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)