diff --git a/Fabric/src/main/java/net/potionstudios/biomeswevegone/fabric/VanillaCompatFabric.java b/Fabric/src/main/java/net/potionstudios/biomeswevegone/fabric/VanillaCompatFabric.java index 34302e04a..93bea3013 100644 --- a/Fabric/src/main/java/net/potionstudios/biomeswevegone/fabric/VanillaCompatFabric.java +++ b/Fabric/src/main/java/net/potionstudios/biomeswevegone/fabric/VanillaCompatFabric.java @@ -49,14 +49,12 @@ private static void registerBiomeModifiers() { private static void registerLootModifiers() { LootTableEvents.MODIFY.register((resourceManager, lootDataManager, resourceLocation, builder, source) -> { - if (resourceLocation.equals(BuiltInLootTables.SNIFFER_DIGGING)) { - LootPool.Builder pool = LootPool.lootPool() + if (resourceLocation.equals(BuiltInLootTables.SNIFFER_DIGGING)) + builder.withPool(LootPool.lootPool() .setRolls(ConstantValue.exactly(1)) .with(LootItem.lootTableItem(BWGBlocks.BLACK_ROSE.getBlock()).build()) .with(LootItem.lootTableItem(BWGBlocks.PROTEA_FLOWER.getBlock()).build()) - .with(LootItem.lootTableItem(BWGBlocks.SILVER_VASE_FLOWER.getBlock()).build()); - builder.withPool(pool); - } + .with(LootItem.lootTableItem(BWGBlocks.SILVER_VASE_FLOWER.getBlock()).build())); }); } diff --git a/gradle.properties b/gradle.properties index 186e5c9be..0524963ce 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,7 +9,7 @@ maven_group=net.potionstudios fabric_loader_version=0.16.9 fabric_api_version=0.92.2 -forge_version=47.3.12 +forge_version=47.3.22 neoforge_version=47.1.106 use_neoforge=false