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

@@ -28,8 +28,7 @@ class RenderMycelium : AbstractBlockRenderingHandler(BetterFoliageMod.MOD_ID) {
override fun isEligible(ctx: BlockContext): Boolean {
if (!Config.enabled || !Config.shortGrass.myceliumEnabled) return false
return Config.blocks.mycelium.matchesClass(ctx.block) &&
ctx.cameraDistance < Config.shortGrass.distance
return Config.blocks.mycelium.matchesClass(ctx.block)
}
override fun render(ctx: BlockContext, dispatcher: BlockRendererDispatcher, renderer: BufferBuilder, layer: BlockRenderLayer): Boolean {