Fixed Click To Claim FLog

This commit is contained in:
Driftay 2019-12-31 01:45:33 -05:00
parent f4bfa83e24
commit b2fdcd5649

View File

@ -39,7 +39,7 @@ public class CmdClaimAt extends FCommand {
int z = context.argAsInt(2);
FLocation location = new FLocation(context.argAsString(0), x, z);
context.fPlayer.attemptClaim(context.faction, location, true);
FactionsPlugin.instance.logFactionEvent(context.fPlayer.getFaction(), FLogType.CHUNK_CLAIMS, context.fPlayer.getName(), CC.GreenB + "CLAIMED", "1", (new FLocation(context.fPlayer.getPlayer().getLocation())).formatXAndZ(","));
FactionsPlugin.instance.logFactionEvent(context.fPlayer.getFaction(), FLogType.CHUNK_CLAIMS, context.fPlayer.getName(), CC.GreenB + "CLAIMED", "1", (location).formatXAndZ(","));
}