Updated to use new API

This commit is contained in:
tastybento 2018-05-08 09:11:01 -04:00
parent f70195f3a0
commit 94161d1df3

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();