minor code cleanup

This commit is contained in:
octarine-noise
2017-08-12 16:37:27 +02:00
parent e20a3fbc54
commit dacc63b11a
3 changed files with 9 additions and 12 deletions

View File

@@ -134,7 +134,7 @@ object ForestryLogSupport : ModelProcessor<List<String>, IColumnTextureInfo>, IC
init { MinecraftForge.EVENT_BUS.register(this) }
override fun processModelLoad1(state: IBlockState, modelLoc: ModelResourceLocation, model: IModel) {
override fun processModelLoad(state: IBlockState, modelLoc: ModelResourceLocation, model: IModel) {
// respect class list to avoid triggering on fences, stairs, etc.
if (!Config.blocks.logClasses.matchesClass(state.block)) return