Hacky hacky hack hack fix for decrementing a container itemstack before getting the results of using the container item stack. Will only hold until we move to the new transmutation system.

This commit is contained in:
pahimar 2013-06-11 15:33:19 -04:00
parent c8b4c4e642
commit 976df1d39b
2 changed files with 6 additions and 0 deletions

View file

@ -66,6 +66,9 @@ public class ItemMiniumStone extends ItemEE
ItemStack copiedStack = itemStack.copy();
copiedStack.setItemDamage(copiedStack.getItemDamage() + 1);
// Hacky hacky hack hack
copiedStack.stackSize = 1;
return copiedStack;
}

View file

@ -73,6 +73,9 @@ public class ItemPhilosophersStone extends ItemEE
ItemStack copiedStack = itemStack.copy();
copiedStack.setItemDamage(copiedStack.getItemDamage() + 1);
// Hacky hacky hack hack
copiedStack.stackSize = 1;
return copiedStack;
}