Accept zero as a packet ID in the packet command.

This commit is contained in:
Kristian S. Stangeland 2012-11-03 06:51:37 +01:00
parent 263d085590
commit 27104c7350

View File

@ -286,7 +286,7 @@ class CommandPacket implements CommandExecutor {
start = i;
}
} else {
if (start > 0) {
if (start >= 0) {
result.add(Ranges.closed(start, i - 1));
start = -1;
}