|
|
@ -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] |