Move refresh on neighbor change to PartConductor
This commit is contained in:
parent
40df343a34
commit
df80d749ab
2 changed files with 7 additions and 6 deletions
|
@ -124,4 +124,11 @@ public abstract class PartConductor extends PartAdvanced implements IConductor
|
||||||
super.onChunkLoad();
|
super.onChunkLoad();
|
||||||
refresh();
|
refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onNeighborChanged()
|
||||||
|
{
|
||||||
|
super.onNeighborChanged();
|
||||||
|
refresh();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -476,10 +476,4 @@ public class PartWire extends PartUniversalConductor implements IPacketReceiver,
|
||||||
{
|
{
|
||||||
setInsulated(true);
|
setInsulated(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onNeighborChanged()
|
|
||||||
{
|
|
||||||
refresh();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue