mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-16 08:56:04 +01:00
Send global value packet after the scene host has finished initializing the scene
This commit is contained in:
@@ -1536,6 +1536,12 @@ public class Player implements PlayerHook, FieldFetch {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
return obj instanceof Player otherPlayer &&
|
||||
this.id == otherPlayer.getUid();
|
||||
}
|
||||
|
||||
public enum SceneLoadState {
|
||||
NONE(0), LOADING(1), INIT(2), LOADED(3);
|
||||
|
||||
@@ -1546,5 +1552,4 @@ public class Player implements PlayerHook, FieldFetch {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user