remove useless config option: distance limit

This commit is contained in:
octarine-noise
2019-09-04 11:28:28 +02:00
parent 6801304bd1
commit 02509fa44d
11 changed files with 2 additions and 22 deletions

View File

@@ -94,7 +94,6 @@ class RenderCactus : AbstractBlockRenderingHandler(BetterFoliageMod.MOD_ID) {
override fun isEligible(ctx: BlockContext): Boolean =
Config.enabled && Config.cactus.enabled &&
ctx.cameraDistance < Config.cactus.distance &&
Config.blocks.cactus.matchesClass(ctx.block)
override fun render(ctx: BlockContext, dispatcher: BlockRendererDispatcher, renderer: BufferBuilder, layer: BlockRenderLayer): Boolean {