Skip to content

Commit

Permalink
Fix crash #13 (#14)
Browse files Browse the repository at this point in the history
A mistake in HashSet population.
  • Loading branch information
BONNe authored and Poslovitch committed Jun 25, 2019
1 parent ccebab7 commit 8c1143c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public List<Settings.GeneratorTier> getAllGeneratorTiers(World world)
else
{
// Collect all unique IDs
Set<String> uniqueIDSet = customAddonTiers.keySet();
Set<String> uniqueIDSet = new HashSet<>(customAddonTiers.keySet());
uniqueIDSet.addAll(defaultTiers.keySet());
tierList = new ArrayList<>(uniqueIDSet.size());

Expand Down

0 comments on commit 8c1143c

Please sign in to comment.