From da85c1823043a1d783ff42a999512f2b753f2202 Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Fri, 22 Apr 2011 19:57:19 -0400 Subject: Reduced console spam under certain conditions. --- src/main/java/net/minecraft/server/PlayerInstance.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/java/net') diff --git a/src/main/java/net/minecraft/server/PlayerInstance.java b/src/main/java/net/minecraft/server/PlayerInstance.java index deb8be1a..f867aa86 100644 --- a/src/main/java/net/minecraft/server/PlayerInstance.java +++ b/src/main/java/net/minecraft/server/PlayerInstance.java @@ -46,7 +46,8 @@ class PlayerInstance { public void b(EntityPlayer entityplayer) { if (!this.b.contains(entityplayer)) { - (new IllegalStateException("Failed to remove player. " + entityplayer + " isn\'t in chunk " + this.chunkX + ", " + this.chunkZ)).printStackTrace(); + // CraftBukkit - reduce console spam under certain conditions + //(new IllegalStateException("Failed to remove player. " + entityplayer + " isn\'t in chunk " + this.chunkX + ", " + this.chunkZ)).printStackTrace(); } else { this.b.remove(entityplayer); if (this.b.size() == 0) { -- cgit v1.2.3