mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-19 19:49:45 +00:00
- AE bug fixxed - somehow.
This commit is contained in:
1 parent
18c3be54c7
commit
ccd1f94dfb
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