This commit is contained in:
nossr50
2020-09-25 11:36:42 -07:00
parent adbcf11c15
commit 8451f84083
5 changed files with 45 additions and 6 deletions

View File

@ -198,10 +198,6 @@ public class SkillUtils {
}
public static void removeAbilityBoostsFromInventory(@NotNull Player player) {
if (!HiddenConfig.getInstance().useEnchantmentBuffs()) {
return;
}
for (ItemStack itemStack : player.getInventory().getContents()) {
removeAbilityBuff(itemStack);
}