Skip to content

Commit

Permalink
Fix ItemFirework - Java and Denizen are two different languages, who …
Browse files Browse the repository at this point in the history
…knew
  • Loading branch information
mcmonkey4eva committed Oct 31, 2022
1 parent bd17a41 commit c163cb0
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -102,8 +102,8 @@ public ListTag getFireworkDataMap() {
effectMap.putObject("trail", new ElementTag(effect.hasTrail()));
effectMap.putObject("flicker", new ElementTag(effect.hasFlicker()));
effectMap.putObject("type", new ElementTag(effect.getType()));
effectMap.putObject("color", colors.size() == 1 ? colors.getObject(1) : colors);
effectMap.putObject("fade_color", fadeColors.size() == 1 ? fadeColors.getObject(1) : fadeColors);
effectMap.putObject("color", colors.size() == 1 ? colors.getObject(0) : colors);
effectMap.putObject("fade_color", fadeColors.size() == 1 ? fadeColors.getObject(0) : fadeColors);
list.addObject(effectMap);
}
}
Expand Down

0 comments on commit c163cb0

Please sign in to comment.