fix a debug check
This commit is contained in:
parent
f21aaee514
commit
e6fe118201
2 changed files with 4 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
"There are also some values you cannot increase beyond a limit."
|
"There are also some values you cannot increase beyond a limit."
|
||||||
],
|
],
|
||||||
"name":"Singularity",
|
"name":"Singularity",
|
||||||
"item_type": "cgear",
|
"item_type": "craftedgear",
|
||||||
"crafted_type": "potion",
|
"crafted_type": "potion",
|
||||||
"shiny": {
|
"shiny": {
|
||||||
"key": "playersKilled",
|
"key": "playersKilled",
|
||||||
|
|
|
@ -14,7 +14,9 @@ pub fn encode_startdata(general_params: &mut FuncParams) {
|
||||||
.unwrap();
|
.unwrap();
|
||||||
}
|
}
|
||||||
pub fn encode_typedata(general_params: &mut FuncParams, item_type_deser: ItemTypeDeser) {
|
pub fn encode_typedata(general_params: &mut FuncParams, item_type_deser: ItemTypeDeser) {
|
||||||
println!("Encoding TypeData: {:?}", item_type_deser);
|
if *general_params.fr_debug_mode {
|
||||||
|
println!("Encoding TypeData: {:?}", item_type_deser);
|
||||||
|
}
|
||||||
// ENCODE: TypeData
|
// ENCODE: TypeData
|
||||||
TypeData(ItemType::from(item_type_deser))
|
TypeData(ItemType::from(item_type_deser))
|
||||||
.encode(general_params.fr_ver, general_params.fr_out)
|
.encode(general_params.fr_ver, general_params.fr_out)
|
||||||
|
|
Loading…
Add table
Reference in a new issue