You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FabricGuiEntry.displayCriticalError(newRuntimeException("Neodymium requires the JVM argument -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump to be set. Please add it to your JVM arguments."), true);
50
+
//FabricGuiEntry.displayCriticalError(new RuntimeException("Neodymium requires the JVM argument -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump to be set. Please add it to your JVM arguments."), true);
51
51
}
52
52
}
53
53
/*if (Loader.isModLoaded("triangulator")) {
@@ -72,7 +72,7 @@ public static void getCompatibilityWarnings(List<Warning> warns, List<Warning> c
72
72
criticalWarns.add(newWarning("A shader pack is enabled, this is not supported."));
73
73
}
74
74
} catch(Exceptione) {
75
-
LOGGER.warn("Failed to get shader pack name");
75
+
LOGGER.log(System.Logger.Level.WARNING, "Failed to get shader pack name");
Copy file name to clipboardexpand all lines: src/main/java/makamys/neodymium/config/Config.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -153,7 +153,7 @@ public void handleConfigProperties(Map<String, String> propertyValues) {
153
153
try {
154
154
registerWatchService();
155
155
} catch(IOException e) {
156
-
LOGGER.warn("Failed to register watch service: " + e + " (" + e.getMessage() + "). Changes to the config file will not be reflected");
156
+
LOGGER.log(System.Logger.Level.WARNING, "Failed to register watch service: " + e + " (" + e.getMessage() + "). Changes to the config file will not be reflected");
157
157
}
158
158
}
159
159
}*/
@@ -193,7 +193,7 @@ public static void reloadConfig() {
193
193
try {
194
194
currentValue = field.get(null);
195
195
} catch (Exception e) {
196
-
LOGGER.error("Failed to get value of field " + field.getName());
196
+
LOGGER.log(System.Logger.Level.ERROR, "Failed to get value of field " + field.getName());
197
197
e.printStackTrace();
198
198
continue;
199
199
}
@@ -245,7 +245,7 @@ public static void reloadConfig() {
245
245
try {
246
246
field.set(null, newValue);
247
247
} catch (Exception e) {
248
-
LOGGER.error("Failed to set value of field " + field.getName());
248
+
LOGGER.log(System.Logger.Level.ERROR, "Failed to set value of field " + field.getName());
Copy file name to clipboardexpand all lines: src/main/java/makamys/neodymium/renderer/GPUMemoryManager.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ public void sendMeshToGPU(Mesh mesh) {
113
113
ChatUtil.showNeoChatMessage("VRAM keeps getting full! Reverting to vanilla renderer. Try increasing the VRAM buffer size in the config, if possible.", ChatUtil.MessageVerbosity.ERROR, false);
114
114
Compat.onNotEnoughVRAM(Config.VRAMSize);
115
115
} else {
116
-
LOGGER.debug("Reloading renderer because VRAM is full.");
116
+
LOGGER.log(System.Logger.Level.DEBUG, "Reloading renderer because VRAM is full.");
117
117
// TODO restart renderer with more VRAM allocated when this happens.
0 commit comments