From a9958a7ad72a44cc9ef88ece85b8f7bb8f72785f Mon Sep 17 00:00:00 2001 From: TelepathicGrunt <40846040+TelepathicGrunt@users.noreply.github.com> Date: Sat, 24 Aug 2024 09:36:22 -0400 Subject: [PATCH] Clarify EarlyDisplay screen's memory data label and remove offheap text (#196) --- .../java/net/neoforged/fml/earlydisplay/PerformanceInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earlydisplay/src/main/java/net/neoforged/fml/earlydisplay/PerformanceInfo.java b/earlydisplay/src/main/java/net/neoforged/fml/earlydisplay/PerformanceInfo.java index 4f44c4ae2..d86d38d16 100644 --- a/earlydisplay/src/main/java/net/neoforged/fml/earlydisplay/PerformanceInfo.java +++ b/earlydisplay/src/main/java/net/neoforged/fml/earlydisplay/PerformanceInfo.java @@ -32,7 +32,7 @@ void update() { cpuText = String.format("CPU: %.1f%%", cpuLoad * 100f); } - text = String.format("Heap: %d/%d MB (%.1f%%) OffHeap: %d MB %s", heapusage.getUsed() >> 20, heapusage.getMax() >> 20, memory * 100.0, memoryBean.getNonHeapMemoryUsage().getUsed() >> 20, cpuText); + text = String.format("Memory: %d/%d MB (%.1f%%) %s", heapusage.getUsed() >> 20, heapusage.getMax() >> 20, memory * 100.0, cpuText); } String text() {