Skip to content

Commit

Permalink
fix #122 (gold ring doesn't drop when bartering)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dqu1J committed Feb 12, 2024
1 parent 01c77ae commit fa0e7cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ private static void registerLootTables() {
.when(LootItemRandomChanceWithLootingCondition.randomChanceAndLootingBoost(0.025f, 0.01f))
.add(LootItem.lootTableItem(CHICKEN_NUGGET))
);
LootHandler.register(BuiltInLootTables.PIGLIN_BARTERING, () -> Config.getBool(ConfigValues.GILDED_NETHERITE), LootPool.lootPool()
LootHandler.register(BuiltInLootTables.PIGLIN_BARTERING, () -> Config.getBool(ConfigValues.GILDED_NETHERITE, "enabled"), LootPool.lootPool()
.setRolls(ConstantValue.exactly(1))
.when(LootItemRandomChanceCondition.randomChance(0.015f))
.add(LootItem.lootTableItem(GOLD_RING))
Expand Down

0 comments on commit fa0e7cb

Please sign in to comment.