mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Proper fix for the console spam on disconnect/kick.
This commit is contained in:
1 parent
8ba9f32162
commit
c18e04ce8b
2 files changed
+2
-3
No files matched your search
@@ -46,8 +46,7 @@ class PlayerInstance {
|
||||
|
||||
public void b(EntityPlayer entityplayer) {
|
||||
if (!this.b.contains(entityplayer)) {
|
||||
// CraftBukkit
|
||||
// (new IllegalStateException("Failed to remove player. " + entityplayer + " isn\'t in chunk " + this.chunkX + ", " + this.chunkZ)).printStackTrace();
|
||||
(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) {
|
||||
|
||||
Reference in new issue
Block a user