[Classic] Update for admin enchant handler.

This commit is contained in:
MobiusDev
2015-08-24 13:48:24 +00:00
parent 3a6fe57c80
commit fc5b691103

View File

@@ -138,9 +138,9 @@ public class AdminEnchant implements IAdminCommandHandler
int ench = Integer.parseInt(command.substring(12)); int ench = Integer.parseInt(command.substring(12));
// check value // check value
if ((ench < 0) || (ench > 65535)) if ((ench < 0) || (ench > 127))
{ {
activeChar.sendMessage("You must set the enchant level to be between 0-65535."); activeChar.sendMessage("You must set the enchant level to be between 0-127.");
} }
else else
{ {