mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-21 20:42:12 +00:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
f95ba99b35
1 file changed
+2
@@ -131,6 +131,8 @@ public class TileArcaneDropper extends TileEntity implements IInventory, ISidedI
|
||||
public ItemStack getStackInSlot(int slot) {
|
||||
updateInventory();
|
||||
|
||||
if(slot >= items.size()) return null; //Get rekt. nothing here on this slot.
|
||||
|
||||
EntityItem entity = items.get(slot);
|
||||
return entity == null || entity.isDead ? null : entity.getEntityItem();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user