diff --git a/src/main/java/com/kyanite/deeperdarker/content/loot/AddItemModifier.java b/src/main/java/com/kyanite/deeperdarker/content/loot/AddItemModifier.java index 9a495a993..ab7ba4f1b 100644 --- a/src/main/java/com/kyanite/deeperdarker/content/loot/AddItemModifier.java +++ b/src/main/java/com/kyanite/deeperdarker/content/loot/AddItemModifier.java @@ -42,7 +42,7 @@ public AddItemModifier(LootItemCondition[] conditionsIn, Item item, int min, int for(LootItemCondition condition : conditions) { if(!condition.test(context)) return generatedLoot; } - RandomSource random = RandomSource.create(); + RandomSource random = context.getRandom(); generatedLoot.add(new ItemStack(item, random.nextInt(min, max + 1))); return generatedLoot; }