From 75793bd23d275d10d6a0bd8024a7e412b64557ce Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 15 Dec 2024 16:53:12 +0100 Subject: next commit --- packets/regular_item_information.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packets/regular_item_information.gd') 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) -- cgit v1.2.3