mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-06-01 13:33:38 +02:00
parent
0481a56794
commit
4666f6d4ea
|
@ -126,7 +126,13 @@ public class ItemBag extends ItemBase{
|
|||
}
|
||||
}
|
||||
}
|
||||
item.setEntityItemStack(stack);
|
||||
|
||||
if(!StackUtil.isValid(stack)){
|
||||
item.setDead();
|
||||
}
|
||||
else{
|
||||
item.setEntityItemStack(stack);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 4 KiB |
Loading…
Reference in a new issue