Optimize invoke packet handling

This commit is contained in:
Melledy
2022-05-08 05:39:12 -07:00
parent 2dfdc62743
commit 55389d3a5c
4 changed files with 10 additions and 13 deletions

View File

@@ -30,7 +30,7 @@ public class InvokeHandler<T> {
}
public synchronized void update(Player player) {
if (player.getWorld() == null) {
if (player.getWorld() == null || player.getScene() == null) {
this.entryListForwardAll.clear();
this.entryListForwardAllExceptCur.clear();
this.entryListForwardHost.clear();