23 Zeilen
1.3 KiB
Diff
23 Zeilen
1.3 KiB
Diff
Index: src/main/java/net/minecraft/server/DedicatedServer.java
|
|
IDEA additional info:
|
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
|
<+>UTF-8
|
|
===================================================================
|
|
diff --git a/src/main/java/net/minecraft/server/DedicatedServer.java b/src/main/java/net/minecraft/server/DedicatedServer.java
|
|
--- a/src/main/java/net/minecraft/server/DedicatedServer.java (revision 03126ceb40b53202c9e7824ba12e495b4bb2270c)
|
|
+++ b/src/main/java/net/minecraft/server/DedicatedServer.java (date 1618247956374)
|
|
@@ -165,9 +165,11 @@
|
|
thread.setUncaughtExceptionHandler(new DefaultUncaughtExceptionHandler(DedicatedServer.LOGGER));
|
|
thread.start();
|
|
DedicatedServer.LOGGER.info("Starting minecraft server version " + SharedConstants.getGameVersion().getName());
|
|
- if (Runtime.getRuntime().maxMemory() / 1024L / 1024L < 512L) {
|
|
+ //Steamwar Start
|
|
+ /*if (Runtime.getRuntime().maxMemory() / 1024L / 1024L < 512L) {
|
|
DedicatedServer.LOGGER.warn("To start the server with more ram, launch it as \"java -Xmx1024M -Xms1024M -jar minecraft_server.jar\"");
|
|
- }
|
|
+ }*/
|
|
+ //Steamwar End
|
|
|
|
DedicatedServer.LOGGER.info("Loading properties");
|
|
DedicatedServerProperties dedicatedserverproperties = this.propertyManager.getProperties();
|