mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-25 15:35:11 +01:00
Update Soulbound.java
This commit is contained in:
parent
c5898f13d9
commit
e9236f97de
@ -47,7 +47,7 @@ public class Soulbound extends EcoEnchant {
|
||||
ItemStack item = killer.getInventory().getItemInMainHand();
|
||||
if (EnchantChecks.item(item, EcoEnchants.REAPER)) {
|
||||
if (!(EcoEnchants.REAPER.getDisabledWorlds().contains(player.getWorld()))) {
|
||||
final int points = EnchantChecks.getItemLevel(item, EcoEnchants.REAPER);
|
||||
int points = EnchantChecks.getItemLevel(item, EcoEnchants.REAPER);
|
||||
if (EnchantmentUtils.passedChance(EcoEnchants.REAPER, points)) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user