mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 07:37:43 +00: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