3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 20:40:08 +01:00

Reduced console spam under certain conditions.

Dieser Commit ist enthalten in:
EvilSeph 2011-04-22 19:57:19 -04:00
Ursprung 8681752ee2
Commit da85c18230

Datei anzeigen

@ -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 - reduce console spam under certain conditions
//(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) {