fix entity loot tables

This commit is contained in:
Bixilon 2021-07-02 17:46:41 +02:00
parent e2ef8e3643
commit 0cab95f87a
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -43,7 +43,7 @@ object EntityGenerator : Generator(
entityData.addProperty("can_spawn_far_from_player", it as Boolean)
}
entityType.lootTableId.let {
entityType.getLootTableId().let {
entityData.addProperty("loot_table", it.toString())
}