diff options
Diffstat (limited to 'packets/regular_item_information.gd')
-rw-r--r-- | packets/regular_item_information.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packets/regular_item_information.gd b/packets/regular_item_information.gd index 1c12a58..d3aa25b 100644 --- a/packets/regular_item_information.gd +++ b/packets/regular_item_information.gd @@ -56,7 +56,7 @@ static func from_bytes(bytes: ByteStream): static func array_from_bytes(bytes: ByteStream) -> Array[RegularItemInformation]: var array: Array[RegularItemInformation] = [] - while bytes.available(): + while bytes.available() > 0: var chunk = from_bytes(bytes) array.append(chunk) |