geforkt von Mirrors/Paper
23 Zeilen
854 B
Diff
23 Zeilen
854 B
Diff
|
From 0f2f15df96ea7d62664ababc5e7ba39b56601141 Mon Sep 17 00:00:00 2001
|
||
|
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
|
||
|
index b11c26b..9389a7d 100644
|
||
|
--- 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
|
||
|
|