diff --git a/src/main/java/com/minelittlepony/unicopia/recipe/URecipes.java b/src/main/java/com/minelittlepony/unicopia/recipe/URecipes.java index 9b64a6de..4a2e7be0 100644 --- a/src/main/java/com/minelittlepony/unicopia/recipe/URecipes.java +++ b/src/main/java/com/minelittlepony/unicopia/recipe/URecipes.java @@ -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); }