From e9236f97dee5793967613a2cafa74a8defa06e85 Mon Sep 17 00:00:00 2001 From: kireevm96 <38166973+kireevm96@users.noreply.github.com> Date: Thu, 4 Mar 2021 16:43:07 +0300 Subject: [PATCH] Update Soulbound.java --- .../ecoenchants/enchantments/ecoenchants/special/Soulbound.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/special/Soulbound.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/special/Soulbound.java index 0688e865..cc9ad4ac 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/special/Soulbound.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/special/Soulbound.java @@ -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; }