@Override public void setGhostSlotContents(int slot, @Nonnull ItemStack stack, int realsize) { if (te instanceof TileEntityBase) { ((TileEntityBase) te).setGhostSlotContents(slot, stack, realsize); } }
@Override public void setGhostSlotContents(int slot, @Nonnull ItemStack stack, int realsize) { if (owner instanceof TileEntityBase) { ((TileEntityBase) owner).setGhostSlotContents(slot, stack, realsize); } } }
@Override public void setGhostSlotContents(int slot, @Nonnull ItemStack stack, int realsize) { if (inv instanceof TileEntityBase) { ((TileEntityBase) inv).setGhostSlotContents(slot, stack, realsize); } }