Natural spawn test

(without luas)
This commit is contained in:
Melledy
2022-04-25 01:50:58 -07:00
parent c4bdcc387c
commit 711e6eabd0
11 changed files with 300 additions and 6 deletions

View File

@@ -195,11 +195,11 @@ public class GenshinPlayer {
this.world = world;
}
public GenshinScene getScene() {
public synchronized GenshinScene getScene() {
return scene;
}
public void setScene(GenshinScene scene) {
public synchronized void setScene(GenshinScene scene) {
this.scene = scene;
}
@@ -695,6 +695,10 @@ 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