switch to recent Forge and Kotlin versions

This commit is contained in:
octarine-noise
2016-09-05 22:43:30 +02:00
parent 4a4d39b523
commit f0a447bbbb
2 changed files with 5 additions and 6 deletions

View File

@@ -18,7 +18,6 @@ class OffsetBlockAccess(val original: IBlockAccess, val modded: BlockPos, val ta
inline fun actualPos(pos: BlockPos?) =
if (pos != null && pos.x == modded.x && pos.y == modded.y && pos.z == modded.z) target else pos
override fun extendedLevelsInChunkCache() = original.extendedLevelsInChunkCache()
override fun getBiome(pos: BlockPos?) = original.getBiome(actualPos(pos))
override fun getBlockState(pos: BlockPos?) = original.getBlockState(actualPos(pos))
override fun getCombinedLight(pos: BlockPos?, lightValue: Int) = original.getCombinedLight(actualPos(pos), lightValue)