mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 08:48:34 +01:00
Make the reconstructor not spawn empty itemstacks into the world
This commit is contained in:
parent
db5c3863a8
commit
0c696d96db
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ public class MethodHandler implements IMethodHandler{
|
||||||
if(itemsPossible > 0){
|
if(itemsPossible > 0){
|
||||||
item.setDead();
|
item.setDead();
|
||||||
|
|
||||||
if(stack.stackSize > 0){
|
if(stack.stackSize-itemsPossible > 0){
|
||||||
ItemStack stackCopy = stack.copy();
|
ItemStack stackCopy = stack.copy();
|
||||||
stackCopy.stackSize-=itemsPossible;
|
stackCopy.stackSize-=itemsPossible;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue