diff --git a/src/main/java/us/tastybento/bskyblock/api/placeholders/PlaceholderBuilder.java b/src/main/java/us/tastybento/bskyblock/api/placeholders/PlaceholderBuilder.java index 226218dab..8c00a7caf 100644 --- a/src/main/java/us/tastybento/bskyblock/api/placeholders/PlaceholderBuilder.java +++ b/src/main/java/us/tastybento/bskyblock/api/placeholders/PlaceholderBuilder.java @@ -10,6 +10,11 @@ public class PlaceholderBuilder { return this; } + /** + * The value this placeholder should take + * @param value + * @return + */ public PlaceholderBuilder value(Placeholder.PlaceholderRequest value) { this.value = value; return this; diff --git a/src/test/java/us/tastybento/bskyblock/commands/IslandCommandTest.java b/src/test/java/us/tastybento/bskyblock/commands/IslandCommandTest.java index 352da1990..6d282cad4 100644 --- a/src/test/java/us/tastybento/bskyblock/commands/IslandCommandTest.java +++ b/src/test/java/us/tastybento/bskyblock/commands/IslandCommandTest.java @@ -143,7 +143,7 @@ public class IslandCommandTest { when(plugin.getSettings()).thenReturn(settings); // User has an island - so go there! - when(im.hasIsland(Mockito.any(), Mockito.eq(uuid))).thenReturn(true); + when(im.getIsland(Mockito.any(), Mockito.eq(uuid))).thenReturn(island); assertTrue(ic.execute(user, new ArrayList<>())); when(user.getWorld()).thenReturn(world);