{
slot.decrStackSize(1);
TileEntityBeacon tileentitybeacon = containerbeacon.func_148327_e();
tileentitybeacon.setPrimaryEffect(i);
tileentitybeacon.setSecondaryEffect(j);
tileentitybeacon.markDirty();
}
}
catch (Exception exception)
{
NetHandlerPlayServer.logger.error("Couldn\'t set beacon", exception);