close #163
This commit is contained in:
10
level/block/utilfuncs.go
Normal file
10
level/block/utilfuncs.go
Normal file
@ -0,0 +1,10 @@
|
||||
package block
|
||||
|
||||
func IsAir(s int) bool {
|
||||
switch StateList[s].(type) {
|
||||
case Air, CaveAir, VoidAir:
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user