Skip to content

Commit

Permalink
Fix typo in item encode.
Browse files Browse the repository at this point in the history
  • Loading branch information
vituscze committed Jul 18, 2018
1 parent dc780ac commit 3aec9c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/player/sc_item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ std::string item_t::encoded_item() const
if ( ! option_ilevel_str.empty() )
s << ",ilevel=" << option_ilevel_str;

if ( ! option_ilevel_str.empty() )
if ( ! option_azerite_level_str.empty() )
s << ",azerite_level=" << option_ilevel_str;
else if ( parsed.azerite_level > 0 )
s << ",azerite_level=" << parsed.azerite_level;
Expand Down

0 comments on commit 3aec9c7

Please sign in to comment.