Skip to content

Commit

Permalink
Changed brace style
Browse files Browse the repository at this point in the history
Co-authored-by: MD <1917406+md678685@users.noreply.github.com>
  • Loading branch information
WillFP and mdcfe authored Oct 9, 2020
1 parent e79c3b2 commit 6da5bb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Essentials/src/com/earth2me/essentials/Enchantments.java
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,9 @@ public static Set<String> keySet() {
}

public static void registerEnchantment(String name, Enchantment enchantment) {
if(ENCHANTMENTS.containsKey(name) || ALIASENCHANTMENTS.containsKey(name))
if (ENCHANTMENTS.containsKey(name) || ALIASENCHANTMENTS.containsKey(name)) {
return;
}

ENCHANTMENTS.put(name, enchantment);
}
Expand Down

0 comments on commit 6da5bb7

Please sign in to comment.