Showing Dropping Anvil Something (Ignore)

This commit is contained in:
Driftay
2019-09-15 05:19:06 -04:00
parent 2feaed0aad
commit 7f988031ca
285 changed files with 28757 additions and 28757 deletions

View File

@@ -5,24 +5,24 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdLeave extends FCommand {
public CmdLeave() {
super();
this.aliases.add("leave");
public CmdLeave() {
super();
this.aliases.add("leave");
this.requirements = new CommandRequirements.Builder(Permission.LEAVE)
.playerOnly()
.memberOnly()
.build();
}
this.requirements = new CommandRequirements.Builder(Permission.LEAVE)
.playerOnly()
.memberOnly()
.build();
}
@Override
public void perform(CommandContext context) {
context.fPlayer.leave(true);
}
@Override
public void perform(CommandContext context) {
context.fPlayer.leave(true);
}
@Override
public TL getUsageTranslation() {
return TL.LEAVE_DESCRIPTION;
}
@Override
public TL getUsageTranslation() {
return TL.LEAVE_DESCRIPTION;
}
}