mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-25 03:55:35 +01:00
Move class
This commit is contained in:
parent
9e9339b9ab
commit
cb2f9ebf11
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
package com.sk89q.worldedit.util.command;
|
package com.sk89q.worldedit.util.command;
|
||||||
|
|
||||||
|
import com.boydti.fawe.util.StringMan;
|
||||||
import com.google.common.base.Joiner;
|
import com.google.common.base.Joiner;
|
||||||
import com.sk89q.minecraft.util.commands.CommandContext;
|
import com.sk89q.minecraft.util.commands.CommandContext;
|
||||||
import com.sk89q.minecraft.util.commands.CommandException;
|
import com.sk89q.minecraft.util.commands.CommandException;
|
||||||
@ -61,8 +62,8 @@ public class SimpleDispatcher implements Dispatcher {
|
|||||||
for (String a : alias) {
|
for (String a : alias) {
|
||||||
String lower = a.toLowerCase();
|
String lower = a.toLowerCase();
|
||||||
if (commands.containsKey(lower)) {
|
if (commands.containsKey(lower)) {
|
||||||
throw new IllegalArgumentException(
|
System.out.println("Replacing commands is currently undefined behavior: " + StringMan.getString(alias));
|
||||||
"Replacing commands is currently undefined behavior");
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user