why am I like this

This commit is contained in:
yrsegal@gmail.com 2022-04-11 23:21:05 -04:00
parent 81fa34841f
commit 818fc2296f

View file

@ -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()