Merge branch '1.20.2' into 1.20.4

This commit is contained in:
Sollace 2024-04-23 15:00:17 +01:00
commit 8adaa062d3
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -53,7 +53,7 @@ public interface URecipes {
LootTable table = manager.getLootTable(modId);
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) {
supplier.pool(pool);
}