This commit is contained in:
Jesse Boyd 2017-08-10 17:24:59 +10:00
parent a2324190bb
commit 84a6a6daf4
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -6,7 +6,6 @@ import com.intellectualcrafters.plot.object.Plot;
import com.intellectualcrafters.plot.object.PlotPlayer;
import com.intellectualcrafters.plot.object.StringWrapper;
import com.intellectualcrafters.plot.util.MainUtil;
import com.intellectualcrafters.plot.util.StringMan;
import com.intellectualcrafters.plot.util.UUIDHandler;
import com.plotsquared.general.commands.CommandDeclaration;
@ -30,7 +29,7 @@ public class Alias extends SetCommand {
MainUtil.sendMessage(player, C.ALIAS_TOO_LONG);
return false;
}
if (alias.contains(" ") || !StringMan.isAsciiPrintable(alias)) {
if (alias.contains(" ")) {
C.NOT_VALID_VALUE.send(player);
return false;
}