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:
parent
c8b4c4e642
commit
976df1d39b
2 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue