after alot of jank. I am pleased to present. GLass cables

main
Walker Fowlkes 7 months ago
parent 5905b4924b
commit 6d7e3b8f39

@ -21,6 +21,9 @@ public abstract class Peripheral extends BlockEntity implements RedBus.Periphera
} }
public RCWorldBus getBus(){ public RCWorldBus getBus(){
if (this.worldBus == null || !this.worldBus.getValid()) {
this.worldBus = new RCWorldBus(new RedBus(),world,getPos());
}
return this.worldBus; return this.worldBus;
} }

Loading…
Cancel
Save