Move refresh on neighbor change to PartConductor

This commit is contained in:
Ben Spiers 2013-09-22 23:59:35 +01:00
parent 40df343a34
commit df80d749ab
2 changed files with 7 additions and 6 deletions

View file

@ -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();
}
} }

View file

@ -476,10 +476,4 @@ public class PartWire extends PartUniversalConductor implements IPacketReceiver,
{ {
setInsulated(true); setInsulated(true);
} }
@Override
public void onNeighborChanged()
{
refresh();
}
} }