mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-20 22:18:58 +01:00
Reduced console spam on disconnect/kick.
This commit is contained in:
parent
4d78c45d8b
commit
212ec7f33d
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue