@Override public void modifyLatch(int cell, boolean on) { if (rsLatch[cell] != on) { rsLatch[cell] = on; for (int i = 0; i < 6; i++) { SocketModule m = getSide(ForgeDirection.getOrientation(i)); m.onRSLatchChange(configs[i], cell, this, ForgeDirection.getOrientation(i), on); } } }