*sigh* crafting spells work again
This commit is contained in:
parent
526360b1d0
commit
ad6a71ac91
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class OpMakePackagedSpell<T : ItemPackagedSpell>(val itemType: T, val cost: Int)
|
|||
val (handStack) = ctx.getHeldItemToOperateOn { it.`is`(itemType) }
|
||||
val spellHolder = handStack.getCapability(HexCapabilities.SPELL).resolve()
|
||||
if (spellHolder.isPresent
|
||||
&& spellHolder.get().patterns != null
|
||||
&& spellHolder.get().patterns == null
|
||||
&& itemEntity.isAlive
|
||||
) {
|
||||
val entityStack = itemEntity.item.copy()
|
||||
|
|
Loading…
Reference in a new issue