mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-02-09 02:13:03 +08:00
Temporary fix to scene reference
This commit is contained in:
parent
9d94888da3
commit
06d5bf7098
@ -171,6 +171,7 @@ public class ScriptLib {
|
||||
}
|
||||
|
||||
worktop.addWorktopOptions(worktopOptions);
|
||||
var scene = this.getSceneScriptManager().getScene();
|
||||
// Done in order to synchronize with addEntities in Scene.class.
|
||||
synchronized (this.getSceneScriptManager().getScene()) {
|
||||
scene.broadcastPacket(new PacketWorktopOptionNotify(gadget));
|
||||
|
Loading…
Reference in New Issue
Block a user