Paper/CraftBukkit-Patches/0151-Fix-Slow-Loading-Libraries.patch

33 lines
1.4 KiB
Diff
Raw Normal View History

From 45dc51a6a1340be61e64c6d07a6d674ade297527 Mon Sep 17 00:00:00 2001
From: md_5 <git@md-5.net>
Date: Tue, 8 Jul 2014 20:27:52 +1000
Subject: [PATCH] Fix Slow "Loading Libraries"
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
index 1977722..e5f73fc 100644
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
@@ -195,7 +195,6 @@ public class Main {
System.out.println( "Please see http://www.spigotmc.org/wiki/changing-permgen-size/ for more details and more in-depth instructions." );
}
// Spigot End
- System.out.println("Loading libraries, please wait...");
MinecraftServer.main(options);
} catch (Throwable t) {
t.printStackTrace();
diff --git a/src/main/resources/log4j2.xml b/src/main/resources/log4j2.xml
index 36eff85..e2209b8 100644
--- a/src/main/resources/log4j2.xml
+++ b/src/main/resources/log4j2.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Configuration status="WARN" packages="net.minecraft,com.mojang">
+<Configuration status="WARN" packages="net.minecraft.util.com.mojang.util">
<Appenders>
<Console name="WINDOWS_COMPAT" target="SYSTEM_OUT"></Console>
<Queue name="TerminalConsole">
--
1.9.1