prevent setting invalid wall types with lua