Skip to content

Commit

Permalink
Fixed code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
Poslovitch committed Dec 15, 2019
1 parent b62bf2d commit d825e1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void setup()
@Override
public boolean execute(User user, String label, List<String> args)
{
StoneGeneratorAddon addon = (StoneGeneratorAddon) this.getAddon();
StoneGeneratorAddon addon = getAddon();
List<Settings.GeneratorTier> generatorTierList = addon.getManager().getAllGeneratorTiers(this.getWorld());

if (generatorTierList.isEmpty())
Expand Down

0 comments on commit d825e1a

Please sign in to comment.