Some more compile issues
This commit is contained in:
parent
4c984f6e46
commit
cc0308bf1d
13 changed files with 29 additions and 35 deletions
|
@ -678,7 +678,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
if (nbt.contains("LootTable", 8)) {
|
||||
this.setContainerLootTable(ResourceKey.create(Registries.LOOT_TABLE, ResourceLocation.parse(nbt.getString("LootTable"))));
|
||||
+ // Paper start - LootTable API
|
||||
+ if (this.getLootTable() != null) {
|
||||
+ if (this.getContainerLootTable() != null) {
|
||||
+ this.lootableData().loadNbt(nbt);
|
||||
+ }
|
||||
+ // Paper end - LootTable API
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue