mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-01 19:46:42 +01:00
Merge branch '1.20.2' into 1.20.4
This commit is contained in:
commit
8adaa062d3
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ public interface URecipes {
|
||||||
LootTable table = manager.getLootTable(modId);
|
LootTable table = manager.getLootTable(modId);
|
||||||
|
|
||||||
if (table != LootTable.EMPTY) {
|
if (table != LootTable.EMPTY) {
|
||||||
if (id.getPath().startsWith("blocks/") || supplier.build().pools.length == 0) {
|
if (id.getPath().startsWith("blocks/") || supplier.build().pools.isEmpty()) {
|
||||||
for (var pool : table.pools) {
|
for (var pool : table.pools) {
|
||||||
supplier.pool(pool);
|
supplier.pool(pool);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue