From afdf1a1ad6e8247dc2f5f52efd06a99c9452921c Mon Sep 17 00:00:00 2001 From: cnr Date: Sat, 17 Jun 2017 15:45:39 -0500 Subject: [PATCH] Fix missed string -> ClaimLocation migration --- .../src/mineplex/game/clans/clans/commands/ClansCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/commands/ClansCommand.java b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/commands/ClansCommand.java index acec71fc3..e3c90587a 100644 --- a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/commands/ClansCommand.java +++ b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/commands/ClansCommand.java @@ -1027,7 +1027,7 @@ public class ClansCommand extends CommandBase 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.")); return;