diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-03-09 16:56:22 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-03-09 16:56:22 +0000 |
commit | 63f0de51282d7e0768001d6a9fd3a7f39b0e30b2 (patch) | |
tree | d85c560a2afef9680ec8feca6c8e5d5949bc0631 /src/main/java/net/minecraft/server/NetServerHandler.java | |
parent | c607d212d4f264ce6cb0da51caf175af0f0f092d (diff) | |
download | craftbukkit-63f0de51282d7e0768001d6a9fd3a7f39b0e30b2.tar craftbukkit-63f0de51282d7e0768001d6a9fd3a7f39b0e30b2.tar.gz craftbukkit-63f0de51282d7e0768001d6a9fd3a7f39b0e30b2.tar.lz craftbukkit-63f0de51282d7e0768001d6a9fd3a7f39b0e30b2.tar.xz craftbukkit-63f0de51282d7e0768001d6a9fd3a7f39b0e30b2.zip |
Sign exploit fix is spammy no more. Probably.
Diffstat (limited to 'src/main/java/net/minecraft/server/NetServerHandler.java')
-rw-r--r-- | src/main/java/net/minecraft/server/NetServerHandler.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index dc1621ff..75e63067 100644 --- a/src/main/java/net/minecraft/server/NetServerHandler.java +++ b/src/main/java/net/minecraft/server/NetServerHandler.java @@ -783,7 +783,8 @@ public class NetServerHandler extends NetHandler implements ICommandListener { int y = packet130updatesign.b; int z = packet130updatesign.c; server.getLogger().severe("Player " + getPlayer().getName() + "/" + getPlayer().getAddress().toString() + " just tried to change the sign text at " + - x + "," + y + "," + z + " - very likely an exploit attempt. Recommend ban."); + x + "," + y + "," + z + " - very likely an exploit attempt. Recommend ban, and sending a package of joy their way."); + this.d.f.a(new Packet1Login("", "", 0, 0, (byte)0)); return; } } |