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