Fix missed string -> ClaimLocation migration

This commit is contained in:
cnr 2017-06-17 15:45:39 -05:00
parent 739cb83deb
commit afdf1a1ad6

View File

@ -1027,7 +1027,7 @@ public class ClansCommand extends CommandBase<ClansManager>
return; return;
} }
if (!clan.getClaimSet().contains(UtilWorld.chunkToStr(clan.getHome().getChunk()))) if (!clan.getClaimSet().contains(ClaimLocation.of(clan.getHome().getChunk())))
{ {
UtilPlayer.message(caller, F.main("Clans", "Your Clan has lost its Home Territory.")); UtilPlayer.message(caller, F.main("Clans", "Your Clan has lost its Home Territory."));
return; return;