mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-29 16:15:17 +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();
|
ItemStack item = killer.getInventory().getItemInMainHand();
|
||||||
if (EnchantChecks.item(item, EcoEnchants.REAPER)) {
|
if (EnchantChecks.item(item, EcoEnchants.REAPER)) {
|
||||||
if (!(EcoEnchants.REAPER.getDisabledWorlds().contains(player.getWorld()))) {
|
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)) {
|
if (EnchantmentUtils.passedChance(EcoEnchants.REAPER, points)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user