// Dispose correctly of old chipsets
if (sockets.getStackInSlot(slot) != null)
if (ChipsetManager.circuitRegistry.isChipset(sockets.getStackInSlot(slot))) {
ICircuitBoard chipset = ChipsetManager.circuitRegistry.getCircuitboard(sockets.getStackInSlot(slot));
if (chipset != null)
chipset.onRemoval(this);
}
sockets.setInventorySlotContents(slot, stack);
refreshFarmLogics();