Fixed runtime crashes

This commit is contained in:
Frank Bauer 2021-06-28 22:12:19 +02:00
parent 770f12ee20
commit 2aa6243f40
5 changed files with 17 additions and 14 deletions

View file

@ -148,8 +148,9 @@ public class EndStoneSmelter extends BaseBlockWithEntity {
}
@Override
@Nullable
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(Level level, BlockEntityType<T> blockEntityType) {
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(Level level, BlockState blockState, BlockEntityType<T> blockEntityType) {
return level.isClientSide() ? null : createTickerHelper(blockEntityType, EndBlockEntities.END_STONE_SMELTER, EndStoneSmelterBlockEntity::tick);
}
}