Fix build

This commit is contained in:
Sollace 2024-04-23 14:55:27 +01:00
parent fb216459b5
commit 0be4aa1b4f
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -54,7 +54,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);
}