diff --git a/scenes/blocks/block.gd b/scenes/blocks/block.gd index e00eb39..ef98bc7 100644 --- a/scenes/blocks/block.gd +++ b/scenes/blocks/block.gd @@ -47,7 +47,10 @@ func _apply_material() -> void: func _load_resource_data() -> void: if not id: - printerr("Block ID was expected but was not received") + printerr("Could not load resource data. Block ID was empty.") return + if not id in DBItems.data: + printerr("Could not load resource data. Unknown Block ID: ", id) + return resource = DBItems.data[id]