Updated to use new API

This commit is contained in:
tastybento 2018-05-08 09:11:01 -04:00
parent f70195f3a0
commit 94161d1df3
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ public class TryToComplete {
}
private ChallengeResult checkSurrounding(User user, Challenges challenge) {
if (!addon.getIslands().playerIsOnIsland(user)) {
if (!addon.getIslands().userIsOnIsland(user)) {
// Player is not on island
user.sendMessage("challenges.error.not-on-island");
return new ChallengeResult();