Fix problems with pocket furnace spell caused by incorrect itemstack check

This commit is contained in:
Electroblob
2018-02-22 12:37:31 +00:00
parent 5715928dbd
commit 56a24ee7b5
@@ -35,7 +35,7 @@ public class PocketFurnace extends Spell {
result = FurnaceRecipes.instance().getSmeltingResult(stack);
if(result != null){
if(!result.isEmpty()){
if(stack.getCount() <= usesLeft){
ItemStack stack2 = new ItemStack(result.getItem(), stack.getCount(), result.getItemDamage());
if(WizardryUtilities.doesPlayerHaveItem(caster, result.getItem())){