Skip to content

Commit

Permalink
Fix order of 0 not working
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed Oct 5, 2018
1 parent c39642a commit d44f576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fCraft/Commands/CpeCommands.cs
Expand Up @@ -1967,7 +1967,7 @@ static class CpeCommands {
break;
case "order":
byte order = 0;
if (byte.TryParse(args, out order) && order > 0) {
if (byte.TryParse(args, out order)) {
def.InventoryOrder = order;
DisplayEditMessage(p, def, global);
UpdateOrder(p.World, def, global);
Expand Down

0 comments on commit d44f576

Please sign in to comment.