From e95672c824a44cdee469ae2bcf55087959ebed0e Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Wed, 16 Aug 2017 11:14:35 +1000 Subject: [PATCH] 255 not 256 max --- MCGalaxy/Commands/CPE/CustomBlockCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MCGalaxy/Commands/CPE/CustomBlockCommand.cs b/MCGalaxy/Commands/CPE/CustomBlockCommand.cs index a851cd323..d67b4b24f 100644 --- a/MCGalaxy/Commands/CPE/CustomBlockCommand.cs +++ b/MCGalaxy/Commands/CPE/CustomBlockCommand.cs @@ -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; }