Skip to content

Commit

Permalink
Fix Converting Nested Extra Components (#10)
Browse files Browse the repository at this point in the history
Some servers nest multiple components with extra components into deep structures.
  • Loading branch information
Paulomart authored and Spirit55555 committed Nov 20, 2018
1 parent 86f4649 commit e50c011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MinecraftJsonColors.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public static function convertToLegacy($json) {
$legacy .= $component;
} else {
//reset the formatting to make the components independent
$legacy .= self::parseElement($component) . self::COLOR_CHAR . self::$formatting['reset'];
$legacy .= self::convertToLegacy($component) . self::COLOR_CHAR . self::$formatting['reset'];
}
}
}
Expand Down

0 comments on commit e50c011

Please sign in to comment.