Skip to content

Commit

Permalink
Update Utility.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Majrusz committed Jul 31, 2022
1 parent f38c7b7 commit d661d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/mlib/Utility.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static String getRegistryString( Enchantment enchantment ) {
}

public static ResourceLocation getRegistryKey( Level level ) {
return level.dimension().registry();
return level.dimension().location();
}

public static String getRegistryString( Level level ) {
Expand Down

0 comments on commit d661d14

Please sign in to comment.