Make networks form when loaded.
That was so annoying, feel like there should be a way of doing this with tile entities, but hey, I've always said multiparts are nicer to work with than vanilla block/tiles
This commit is contained in:
parent
b1bf9be852
commit
81778cebb6
2 changed files with 14 additions and 7 deletions
|
@ -110,4 +110,18 @@ public abstract class PartConductor extends PartAdvanced implements IConductor
|
|||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAdded()
|
||||
{
|
||||
super.onAdded();
|
||||
refresh();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onChunkLoad()
|
||||
{
|
||||
super.onChunkLoad();
|
||||
refresh();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -375,13 +375,6 @@ public class PartWire extends PartUniversalConductor implements IPacketReceiver,
|
|||
this.isInsulated = nbt.getBoolean("isInsulated");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAdded()
|
||||
{
|
||||
super.onAdded();
|
||||
refresh();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean doesTick()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue