mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +01:00
parent
0481a56794
commit
4666f6d4ea
2 changed files with 7 additions and 1 deletions
|
@ -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