mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2025-01-27 02:31:47 +01:00
Accept zero as a packet ID in the packet command.
This commit is contained in:
parent
263d085590
commit
27104c7350
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user