Remove range bans and add mbworld alias

This commit is contained in:
ZeroEpoch1969 2018-05-17 17:46:20 -07:00
parent 7b1a8cb527
commit 1ff7d7c8cc
No known key found for this signature in database
GPG Key ID: E0AAB104FB9F8FDF
2 changed files with 1 additions and 3 deletions

View File

@ -6,7 +6,6 @@ import me.totalfreedom.totalfreedommod.rank.Rank;
import me.totalfreedom.totalfreedommod.util.FUtil; import me.totalfreedom.totalfreedommod.util.FUtil;
import me.totalfreedom.totalfreedommod.punishments.Punishment; import me.totalfreedom.totalfreedommod.punishments.Punishment;
import me.totalfreedom.totalfreedommod.punishments.PunishmentType; import me.totalfreedom.totalfreedommod.punishments.PunishmentType;
import net.pravian.aero.util.Ips;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.ArrayUtils;
@ -130,7 +129,6 @@ public class Command_gtfo extends FreedomCommand
for (String ip : ips) for (String ip : ips)
{ {
ban.addIp(ip); ban.addIp(ip);
ban.addIp(FUtil.getFuzzyIp(ip));
} }
plugin.bm.addBan(ban); plugin.bm.addBan(ban);

View File

@ -11,7 +11,7 @@ import org.bukkit.entity.Player;
@CommandPermissions(level = Rank.OP, source = SourceType.BOTH) @CommandPermissions(level = Rank.OP, source = SourceType.BOTH)
@CommandParameters(description = "Go to the MasterBuilderWorld.", @CommandParameters(description = "Go to the MasterBuilderWorld.",
usage = "/<command> [time <morning | noon | evening | night> | weather <off | on | storm>]", usage = "/<command> [time <morning | noon | evening | night> | weather <off | on | storm>]",
aliases = "mbw") aliases = "mbw,mbworld")
public class Command_masterbuilderworld extends FreedomCommand public class Command_masterbuilderworld extends FreedomCommand
{ {