fix invalid tool class on v3/v4
This commit is contained in:
@@ -404,7 +404,7 @@ pair<uint8_t, uint8_t> ItemParameterTable::find_tool_by_id_t(uint32_t tool_table
|
||||
}
|
||||
}
|
||||
}
|
||||
throw runtime_error(string_printf("invalid tool class %08" PRIX32, item_id));
|
||||
throw out_of_range(string_printf("invalid tool class %08" PRIX32, item_id));
|
||||
}
|
||||
|
||||
pair<uint8_t, uint8_t> ItemParameterTable::find_tool_by_id(uint32_t item_id) const {
|
||||
|
||||
Reference in New Issue
Block a user