mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-10-07 11:07:33 +02:00
Added nullable annotations to Island#getOwner() and Island#getName()
This commit is contained in:
parent
8cb5234a0c
commit
0cdd774d0b
@ -371,6 +371,7 @@ public class Island implements DataObject {
|
||||
/**
|
||||
* @return the island display name. Might be {@code null} if none is set.
|
||||
*/
|
||||
@Nullable
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
@ -378,6 +379,7 @@ public class Island implements DataObject {
|
||||
/**
|
||||
* @return the owner
|
||||
*/
|
||||
@Nullable
|
||||
public UUID getOwner(){
|
||||
return owner;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user