Skip to content

Commit

Permalink
Don't sync if disposed
Browse files Browse the repository at this point in the history
  • Loading branch information
MATRIX-feather committed Jan 15, 2024
1 parent c89c7d3 commit 2ccb700
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public SingleWatcher(Player bindingPlayer, EntityType entityType)
@Initializer
private void load()
{
if (!syncedOnce.get())
if (!syncedOnce.get() && !disposed)
sync();
}

Expand Down

0 comments on commit 2ccb700

Please sign in to comment.