From 4222dd96890b2eead31432a92c44c8c5b00ced12 Mon Sep 17 00:00:00 2001 From: Driftay Date: Tue, 31 Dec 2019 01:40:04 -0500 Subject: [PATCH] Added FLog For Claiming Single Chunk --- src/main/java/com/massivecraft/factions/cmd/claim/CmdClaim.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/massivecraft/factions/cmd/claim/CmdClaim.java b/src/main/java/com/massivecraft/factions/cmd/claim/CmdClaim.java index be0115c3..b986c13e 100644 --- a/src/main/java/com/massivecraft/factions/cmd/claim/CmdClaim.java +++ b/src/main/java/com/massivecraft/factions/cmd/claim/CmdClaim.java @@ -61,6 +61,7 @@ public class CmdClaim extends FCommand { if (radius < 2) { // single chunk context.fPlayer.attemptClaim(forFaction, context.player.getLocation(), true); + FactionsPlugin.instance.logFactionEvent(forFaction, FLogType.CHUNK_CLAIMS, context.fPlayer.getName(), CC.GreenB + "CLAIMED", "1", (new FLocation(context.fPlayer.getPlayer().getLocation())).formatXAndZ(",")); } else { // radius claim if (!Permission.CLAIM_RADIUS.has(context.sender, true)) {