Set a default island name if unset.
This commit is contained in:
1 parent
3ac9b7dd89
commit
53d4549573
1 file changed
+1
-1
@@ -106,7 +106,7 @@ public class Island extends YamlConfiguration {
|
||||
}
|
||||
|
||||
public String islandName() {
|
||||
return getString("island.islandname");
|
||||
return getString("island.islandname", "Unnamed Island");
|
||||
}
|
||||
|
||||
public void islandName(String islandName) {
|
||||
|
||||
Reference in new issue
Block a user