Skip to content

Commit ddad0fb

Browse files
committed
Revoke Connector status from DebugHeater 2
1 parent 65aaac6 commit ddad0fb

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/main/java/com/teammoeg/frostedheart/content/steamenergy/debug/DebugHeaterBlock.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -73,23 +73,4 @@ public InteractionResult use(BlockState state, Level world, BlockPos pos, Player
7373
public Supplier<BlockEntityType<DebugHeaterTileEntity>> getBlock() {
7474
return FHBlockEntityTypes.DEBUGHEATER;
7575
}
76-
@Override
77-
public void neighborChanged(BlockState state, Level worldIn, BlockPos pos, Block blockIn, BlockPos fromPos,
78-
boolean isMoving) {
79-
super.neighborChanged(state, worldIn, pos, blockIn, fromPos, isMoving);
80-
//Direction d = FHUtils.dirBetween(fromPos, pos);
81-
//System.out.println("changed")2
82-
if(!worldIn.isClientSide)
83-
worldIn.scheduleTick(pos, this, 10);
84-
85-
}
86-
87-
@Override
88-
public void tick(BlockState state, ServerLevel worldIn, BlockPos pos, RandomSource pRandom) {
89-
//System.out.println("ticked "+pos);
90-
super.tick(state, worldIn, pos, pRandom);
91-
DebugHeaterTileEntity te=FHUtils.getExistingTileEntity(worldIn, pos, DebugHeaterTileEntity.class);
92-
if(te!=null)
93-
te.getNetwork().startConnectionFromBlock(te);
94-
}
9576
}

0 commit comments

Comments
 (0)