Call checkSpawns from World instead of from Player

This commit is contained in:
Melledy
2022-04-25 14:12:35 -07:00
parent c3f9fd3ce3
commit 2228332f9d
4 changed files with 52 additions and 21 deletions

View File

@@ -695,10 +695,6 @@ public class GenshinPlayer {
it.remove();
}
}
//
if (this.getScene() != null && this.getSceneLoadState() == SceneLoadState.LOADED) {
this.getScene().checkSpawns(this);
}
// Ping
if (this.getWorld() != null) {
// RTT notify - very important to send this often