mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 13:06:02 +01:00
23 lines
854 B
Diff
23 lines
854 B
Diff
From d28b69277fa9bed23920302ea95067c175e5e11f 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 391c6fc..b5e0261 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
|
|
|