removing terrain block also removes its ore

This commit is contained in:
minjaesong
2023-10-10 18:45:58 +09:00
parent 3b32242a2b
commit 64d30728ff
2 changed files with 16 additions and 3 deletions

View File

@@ -16,7 +16,8 @@ object LandUtil {
const val LAYER_TERR = 0
const val LAYER_WALL = 1
const val LAYER_WIRE = 2
const val LAYER_ORES = 2
const val LAYER_WIRE = 20
const val LAYER_FLUID = 3
fun toChunkNum(world: GameWorld, x: Int, y: Int): Int {