mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-23 19:25:12 +01:00
Added nullability annotations to some Island's fields
This commit is contained in:
parent
962bc50aaa
commit
749b88669c
@ -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<UUID, Integer> members = new HashMap<>();
|
||||
|
Loading…
Reference in New Issue
Block a user