mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-23 21:39:40 +00:00
more !isEmpty checks to validate ItemStacks
This commit is contained in:
1 parent
f3cd020a31
commit
a7c8423e9f
9 files changed
+14
-13
No files matched your search
@@ -243,7 +243,7 @@ public class ItemBlockBasic extends ItemBlock implements IEnergizedItem, ITierIt
|
||||
|
||||
tileEntity.tier = BinTier.values()[getBaseTier(stack).ordinal()];
|
||||
|
||||
if(inv.getItemType() != null)
|
||||
if(!inv.getItemType().isEmpty())
|
||||
{
|
||||
tileEntity.setItemType(inv.getItemType());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user