fix Codacy for reaper

This commit is contained in:
kireevm96 2021-03-02 14:44:35 +03:00
parent 53d45d603b
commit 951e04b189
2 changed files with 3 additions and 5 deletions

View File

@ -1,14 +1,12 @@
package com.willfp.ecoenchants.enchantments.ecoenchants.special;
import com.willfp.ecoenchants.enchantments.EcoEnchant;
import com.willfp.ecoenchants.enchantments.EcoEnchants;
import com.willfp.ecoenchants.enchantments.meta.EnchantmentType;
import org.jetbrains.annotations.NotNull;
public class Reaper extends EcoEnchant {
public Reaper() {
super(
"reaper", EnchantmentType.SPECIAL
);
}
}
}

View File

@ -1,7 +1,7 @@
package com.willfp.ecoenchants.enchantments.ecoenchants.special;
import com.willfp.ecoenchants.enchantments.EcoEnchant;
import com.willfp.ecoenchants.enchantments.EcoEnchants;
import com.willfp.ecoenchants.enchantments.EcoEnchants;
import com.willfp.ecoenchants.enchantments.meta.EnchantmentType;
import com.willfp.ecoenchants.enchantments.util.EnchantChecks;
import com.willfp.ecoenchants.enchantments.util.EnchantmentUtils;
@ -53,7 +53,7 @@ public class Soulbound extends EcoEnchant {
}
}
}
}
}
for (ItemStack itemStack : player.getInventory().getContents()) {
if (itemStack == null) {
continue;