Adjustments for max enchant.

Contributed by rocknowx.
This commit is contained in:
MobiusDev
2015-08-24 13:41:33 +00:00
parent 259f4e8644
commit 610dee6a01
4 changed files with 8 additions and 8 deletions

View File

@ -175,9 +175,9 @@ public class PlayerHandler implements ITelnetHandler
itemType = 0;
}
if (enchant > 65535)
if (enchant > 127)
{
enchant = 65535;
enchant = 127;
}
else if (enchant < 0)
{