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
|
@ -67,6 +67,9 @@ public class ItemMiniumStone extends ItemEE
|
||||||
|
|
||||||
copiedStack.setItemDamage(copiedStack.getItemDamage() + 1);
|
copiedStack.setItemDamage(copiedStack.getItemDamage() + 1);
|
||||||
|
|
||||||
|
// Hacky hacky hack hack
|
||||||
|
copiedStack.stackSize = 1;
|
||||||
|
|
||||||
return copiedStack;
|
return copiedStack;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -74,6 +74,9 @@ public class ItemPhilosophersStone extends ItemEE
|
||||||
|
|
||||||
copiedStack.setItemDamage(copiedStack.getItemDamage() + 1);
|
copiedStack.setItemDamage(copiedStack.getItemDamage() + 1);
|
||||||
|
|
||||||
|
// Hacky hacky hack hack
|
||||||
|
copiedStack.stackSize = 1;
|
||||||
|
|
||||||
return copiedStack;
|
return copiedStack;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue