From 5bf4650da1353608ff5f78777f07715b47c93c98 Mon Sep 17 00:00:00 2001 From: WinDanesz <31292708+WinDanesz@users.noreply.github.com> Date: Mon, 11 Jul 2022 21:14:45 +0200 Subject: [PATCH] fix: Fixed wizards not using addon book spells --- .../java/electroblob/wizardry/entity/living/EntityWizard.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/electroblob/wizardry/entity/living/EntityWizard.java b/src/main/java/electroblob/wizardry/entity/living/EntityWizard.java index 1ddbfc04..18f5e1f2 100644 --- a/src/main/java/electroblob/wizardry/entity/living/EntityWizard.java +++ b/src/main/java/electroblob/wizardry/entity/living/EntityWizard.java @@ -798,7 +798,6 @@ public class EntityWizard extends EntityCreature implements INpc, IMerchant, ISp Tier maxTier = Tier.NOVICE; List npcSpells = Spell.getSpells(s -> s.canBeCastBy(wizard, false)); - npcSpells.removeIf(s -> !s.applicableForItem(WizardryItems.spell_book)); for(int i = 0; i < n; i++){