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
@@ -34,8 +34,7 @@ class RenderNetherrack : AbstractBlockRenderingHandler(BetterFoliageMod.MOD_ID)
override fun isEligible(ctx: BlockContext): Boolean {
if (!Config.enabled || !Config.netherrack.enabled) return false
return Config.blocks.netherrack.matchesClass(ctx.block) &&
ctx.cameraDistance < Config.netherrack.distance
return Config.blocks.netherrack.matchesClass(ctx.block)
}
override fun render(ctx: BlockContext, dispatcher: BlockRendererDispatcher, renderer: BufferBuilder, layer: BlockRenderLayer): Boolean {