#371 fixed RTU configurator bug with empty peripherals or redstone, re-ordered settings load, added type checks
This commit is contained in:
@@ -58,6 +58,9 @@ function rtu.load_config()
|
||||
cfv.assert_type_str(config.LogPath)
|
||||
cfv.assert_type_bool(config.LogDebug)
|
||||
|
||||
cfv.assert_type_table(config.Peripherals)
|
||||
cfv.assert_type_table(config.Redstone)
|
||||
|
||||
return cfv.valid()
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user