2122232425262728293031
LogisticsSecurityTileEntity tile = this.getTile(player.worldObj, LogisticsSecurityTileEntity.class); if(tile != null) { if(getInteger() == 1) { tile.authorizeStation(); } else { tile.deauthorizeStation(); } } } }