Added FLog For Claiming Single Chunk
This commit is contained in:
parent
ccb2dae890
commit
4222dd9689
@ -61,6 +61,7 @@ public class CmdClaim extends FCommand {
|
|||||||
if (radius < 2) {
|
if (radius < 2) {
|
||||||
// single chunk
|
// single chunk
|
||||||
context.fPlayer.attemptClaim(forFaction, context.player.getLocation(), true);
|
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 {
|
} else {
|
||||||
// radius claim
|
// radius claim
|
||||||
if (!Permission.CLAIM_RADIUS.has(context.sender, true)) {
|
if (!Permission.CLAIM_RADIUS.has(context.sender, true)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user