Skip to content

Commit 80f72ad

Browse files
authored
Merge pull request #2761 from BentoBoxWorld/better_grid_storage
Record islands becoming unowned
2 parents af23971 + 2a4fda1 commit 80f72ad

File tree

1 file changed

+1
-0
lines changed
  • src/main/java/world/bentobox/bentobox/database/objects

1 file changed

+1
-0
lines changed

src/main/java/world/bentobox/bentobox/database/objects/Island.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,7 @@ public void setOwner(@Nullable UUID owner) {
11401140
this.owner = owner;
11411141
if (owner == null) {
11421142
log(new LogEntry.Builder(LogType.UNOWNED).build());
1143+
setChanged();
11431144
return;
11441145
}
11451146
// Defensive code: demote any previous owner

0 commit comments

Comments
 (0)