mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-30 02:05:41 +00:00
Remove range bans and add mbworld alias
This commit is contained in:
parent
7b1a8cb527
commit
1ff7d7c8cc
@ -6,7 +6,6 @@ import me.totalfreedom.totalfreedommod.rank.Rank;
|
||||
import me.totalfreedom.totalfreedommod.util.FUtil;
|
||||
import me.totalfreedom.totalfreedommod.punishments.Punishment;
|
||||
import me.totalfreedom.totalfreedommod.punishments.PunishmentType;
|
||||
import net.pravian.aero.util.Ips;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import org.apache.commons.lang3.ArrayUtils;
|
||||
@ -130,7 +129,6 @@ public class Command_gtfo extends FreedomCommand
|
||||
for (String ip : ips)
|
||||
{
|
||||
ban.addIp(ip);
|
||||
ban.addIp(FUtil.getFuzzyIp(ip));
|
||||
}
|
||||
plugin.bm.addBan(ban);
|
||||
|
||||
|
@ -11,7 +11,7 @@ import org.bukkit.entity.Player;
|
||||
@CommandPermissions(level = Rank.OP, source = SourceType.BOTH)
|
||||
@CommandParameters(description = "Go to the MasterBuilderWorld.",
|
||||
usage = "/<command> [time <morning | noon | evening | night> | weather <off | on | storm>]",
|
||||
aliases = "mbw")
|
||||
aliases = "mbw,mbworld")
|
||||
public class Command_masterbuilderworld extends FreedomCommand
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user