Skip to content

Commit

Permalink
GP is now a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksilassila committed Feb 18, 2021
1 parent dc24fe7 commit 2af594a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/me/aleksilassila/islands/IslandsConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,10 @@ public static Map<String, Map<String, String>> getIslandsInfo(boolean publicOnly

if (!publicOnly || e.isPublic) {
String name = e.isPublic ? e.name : islandId;
UUID ownerUUID = e.uuid;

Map<String, String> values = new HashMap<>();
values.put("name", name);
values.put("owner", ownerUUID != null ? ownerUUID.toString() : "Server");
values.put("owner", e.uuid != null ? e.uuid.toString() : "Server");

try {
String biome = e.biome.toString();
Expand Down
4 changes: 3 additions & 1 deletion src/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ version: 5.0.0
author: Aleksi Lassila
main: me.aleksilassila.islands.Islands
api-version: 1.15
softdepend: [Vault, WorldEdit, GriefPrevention]
softdepend: [Vault, WorldEdit]
depend:
- GriefPrevention
commands:
island:
description: Island managment
Expand Down

0 comments on commit 2af594a

Please sign in to comment.