Skip to content

Commit

Permalink
Some simplifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyuchiha committed Jan 15, 2021
1 parent fbbe503 commit df4419d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ private static ItemStack loadItem(ConfigurationSection config, String itemName)
potion.setSplash(splash);

if (extended) {
potion.setHasExtendedDuration(extended);
potion.setHasExtendedDuration(true);
}

item = potion.toItemStack(1);
Expand Down

0 comments on commit df4419d

Please sign in to comment.