255 not 256 max

This commit is contained in:
UnknownShadow200 2017-08-16 11:14:35 +10:00
parent 8863b146aa
commit e95672c824

View File

@ -414,7 +414,7 @@ namespace MCGalaxy.Commands.CPE {
case "order":
int order = 0;
if (!CommandParser.GetInt(p, value, "Inventory order", ref order, 1, 256)) {
if (!CommandParser.GetInt(p, value, "Inventory order", ref order, 1, 255)) {
SendEditHelp(p, arg); return;
}