mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-10-26 14:24:11 +00:00
Fix item foci not being recognised by the spell table (#151)
This commit is contained in:
1 parent
6776676ef2
commit
7fee341e50
1 file changed
+1
-2
+1
-2
@@ -3,7 +3,6 @@ package WayofTime.alchemicalWizardry.common.spell.simple;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class HomSpellRegistry {
|
||||
@@ -22,7 +21,7 @@ public class HomSpellRegistry {
|
||||
for (HomSpellComponent hsc : spellList) {
|
||||
ItemStack item = hsc.item();
|
||||
|
||||
if (item != null && item.getItem() instanceof ItemBlock && testItem.getItem() == item.getItem()) {
|
||||
if (item != null && testItem.getItem() == item.getItem()) {
|
||||
return hsc.spell();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user