diff --git a/src/main/java/world/bentobox/bentobox/database/objects/Island.java b/src/main/java/world/bentobox/bentobox/database/objects/Island.java index f0c5c049a..af11b6f80 100644 --- a/src/main/java/world/bentobox/bentobox/database/objects/Island.java +++ b/src/main/java/world/bentobox/bentobox/database/objects/Island.java @@ -52,11 +52,13 @@ public class Island implements DataObject { private boolean deleted = false; @Expose + @NonNull private String uniqueId = UUID.randomUUID().toString(); //// Island //// // The center of the island itself @Expose + @Nullable private Location center; // Island range @@ -77,6 +79,7 @@ public class Island implements DataObject { // Display name @Expose + @Nullable private String name; // Time parameters @@ -87,7 +90,8 @@ public class Island implements DataObject { //// Team //// @Expose - private @Nullable UUID owner; + @Nullable + private UUID owner; @Expose private Map members = new HashMap<>();