public class PardonIpCommand
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
FAILED_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
IP_INVALID_EXCEPTION |
Constructor and Description |
---|
PardonIpCommand() |
Modifier and Type | Method and Description |
---|---|
static void |
register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher) |
private static int |
unbanIp(CommandSource source,
java.lang.String ipAddress) |
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType IP_INVALID_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
private static int unbanIp(CommandSource source, java.lang.String ipAddress) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException