|
|
@ -34,7 +34,7 @@ public class CpuEntity extends Peripheral{
|
|
|
|
super(RedControl.CPU_BLOCK_ENTITY, pos, state, 0);
|
|
|
|
super(RedControl.CPU_BLOCK_ENTITY, pos, state, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static void tick(World world, BlockPos pos, BlockState state, CpuEntity beo) {
|
|
|
|
public static void tick(World world, BlockPos pos, BlockState state, CpuEntity be) {
|
|
|
|
if(!world.isClient) {
|
|
|
|
if(!world.isClient) {
|
|
|
|
if(be.worldBus == null || !be.worldBus.getValid()){
|
|
|
|
if(be.worldBus == null || !be.worldBus.getValid()){
|
|
|
|
((NetworkCarrier)state.getBlock()).generateBus((ServerWorld) world, pos);
|
|
|
|
((NetworkCarrier)state.getBlock()).generateBus((ServerWorld) world, pos);
|
|
|
|