why am I like this
This commit is contained in:
parent
81fa34841f
commit
818fc2296f
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class OpMakePackagedSpell<T : ItemPackagedSpell>(val itemType: T, val cost: Int)
|
||||||
val (handStack) = ctx.getHeldItemToOperateOn { it.`is`(itemType) }
|
val (handStack) = ctx.getHeldItemToOperateOn { it.`is`(itemType) }
|
||||||
val handItem = handStack.item
|
val handItem = handStack.item
|
||||||
if (handItem is SpellHolder
|
if (handItem is SpellHolder
|
||||||
&& handItem.getPatterns(handStack) != null
|
&& handItem.getPatterns(handStack) == null
|
||||||
&& itemEntity.isAlive
|
&& itemEntity.isAlive
|
||||||
) {
|
) {
|
||||||
val entityStack = itemEntity.item.copy()
|
val entityStack = itemEntity.item.copy()
|
||||||
|
|
Loading…
Reference in a new issue