package org.cyclops.integrateddynamics.capability.cable;

import org.cyclops.integrateddynamics.api.block.cable.ICableFakeable;

/**
 * Default implementation of {@link ICableFakeable}.
 * @author rubensworks
 */
public abstract class CableFakeableDefault implements ICableFakeable {

    private boolean real = true;

    @Override
    public boolean isRealCable() {
        return real;
    }

    @Override
    public void setRealCable(boolean real) {
        this.real = real;
        sendUpdate();
    }

    protected abstract void sendUpdate();
}

@@ -460,26 +460,103 @@
     
-this.real = real;%0A
+boolean oldReal = this.real;%0A        this.real = real;%0A        if (oldReal != this.real) %7B%0A    
     
@@ -573,16 +573,26 @@
 date();%0A
+        %7D%0A
     %7D%0A%0A 

Fix display panels causing unnecessary chunk rerenders