2013-07-11 01:31:30 +00:00
|
|
|
From d28b69277fa9bed23920302ea95067c175e5e11f Mon Sep 17 00:00:00 2001
|
2013-07-02 03:57:42 +00:00
|
|
|
From: md_5 <md_5@live.com.au>
|
|
|
|
Date: Tue, 2 Jul 2013 13:51:38 +1000
|
|
|
|
Subject: [PATCH] Silence End of Stream Errors
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/Packet.java b/src/main/java/net/minecraft/server/Packet.java
|
2013-07-11 01:31:30 +00:00
|
|
|
index 391c6fc..b5e0261 100644
|
2013-07-02 03:57:42 +00:00
|
|
|
--- a/src/main/java/net/minecraft/server/Packet.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/Packet.java
|
|
|
|
@@ -112,7 +112,7 @@ public abstract class Packet {
|
|
|
|
++o;
|
|
|
|
p += (long) packet.a();
|
|
|
|
} catch (EOFException eofexception) {
|
|
|
|
- iconsolelogmanager.severe("Reached end of stream for " + socket.getInetAddress());
|
|
|
|
+ // iconsolelogmanager.severe("Reached end of stream for " + socket.getInetAddress()); // Spigot - too spammy
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
--
|
|
|
|
1.8.1.2
|
|
|
|
|