Add tablist remove delay setting

This commit is contained in:
fullwall 2020-08-28 22:55:07 +08:00
parent a79e8a571a
commit c4e4d2f300
6 changed files with 6 additions and 6 deletions

View File

@ -42,7 +42,7 @@ public class PlayerlistTrackerEntry extends EntityTrackerEntry {
public void run() {
NMS.sendTabListRemove(entityplayer.getBukkitEntity(), (Player) tracker.getBukkitEntity());
}
});
}, Setting.TABLIST_REMOVE_PACKET_DELAY.asInt());
}
@Override

View File

@ -42,7 +42,7 @@ public class PlayerlistTrackerEntry extends EntityTrackerEntry {
public void run() {
NMS.sendTabListRemove(entityplayer.getBukkitEntity(), (Player) tracker.getBukkitEntity());
}
});
}, Setting.TABLIST_REMOVE_PACKET_DELAY.asInt());
}
@Override

View File

@ -40,7 +40,7 @@ public class PlayerlistTracker extends PlayerChunkMap.EntityTracker {
public void run() {
NMS.sendTabListRemove(entityplayer.getBukkitEntity(), (Player) tracker.getBukkitEntity());
}
});
}, Setting.TABLIST_REMOVE_PACKET_DELAY.asInt());
}
@Override

View File

@ -40,7 +40,7 @@ public class PlayerlistTracker extends PlayerChunkMap.EntityTracker {
public void run() {
NMS.sendTabListRemove(entityplayer.getBukkitEntity(), (Player) tracker.getBukkitEntity());
}
});
}, Setting.TABLIST_REMOVE_PACKET_DELAY.asInt());
}
@Override

View File

@ -42,7 +42,7 @@ public class PlayerlistTracker extends PlayerChunkMap.EntityTracker {
public void run() {
NMS.sendTabListRemove(entityplayer.getBukkitEntity(), (Player) tracker.getBukkitEntity());
}
});
}, Setting.TABLIST_REMOVE_PACKET_DELAY.asInt());
}
@Override

View File

@ -42,7 +42,7 @@ public class PlayerlistTrackerEntry extends EntityTrackerEntry {
public void run() {
NMS.sendTabListRemove(entityplayer.getBukkitEntity(), (Player) tracker.getBukkitEntity());
}
});
}, Setting.TABLIST_REMOVE_PACKET_DELAY.asInt());
}
@Override