Reduced console spam on disconnect/kick.

This commit is contained in:
EvilSeph 2011-04-21 15:46:18 -04:00
parent 4d78c45d8b
commit 212ec7f33d

View File

@ -46,7 +46,8 @@ class PlayerInstance {
public void b(EntityPlayer entityplayer) { public void b(EntityPlayer entityplayer) {
if (!this.b.contains(entityplayer)) { if (!this.b.contains(entityplayer)) {
(new IllegalStateException("Failed to remove player. " + entityplayer + " isn\'t in chunk " + this.chunkX + ", " + this.chunkZ)).printStackTrace(); // CraftBukkit
// (new IllegalStateException("Failed to remove player. " + entityplayer + " isn\'t in chunk " + this.chunkX + ", " + this.chunkZ)).printStackTrace();
} else { } else {
this.b.remove(entityplayer); this.b.remove(entityplayer);
if (this.b.size() == 0) { if (this.b.size() == 0) {