mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-12-31 21:07:47 +01:00
lootables
This commit is contained in:
parent
97222b0d2d
commit
992020af22
@ -40,7 +40,7 @@ public class LootablesManager {
|
||||
? entity.getKiller().getItemInHand().getEnchantmentLevel(Enchantment.LOOT_BONUS_MOBS)
|
||||
: 0;
|
||||
|
||||
int rerollChance = Setting.REROLL.getBoolean() ? 100 * looting / (looting + 1) : 0;
|
||||
int rerollChance = Setting.REROLL.getBoolean() ? looting / (looting + 1) : 0;
|
||||
|
||||
for (Loot loot : lootable.getRegisteredLoot())
|
||||
toDrop.addAll(runLoot(entity, loot, rerollChance, looting));
|
||||
|
Loading…
Reference in New Issue
Block a user