Skip to content

Commit

Permalink
style: style
Browse files Browse the repository at this point in the history
  • Loading branch information
0XPYEX0 committed Oct 2, 2024
1 parent b9a37ed commit 070b0ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/ch/njol/skript/bukkitutil/BukkitUnsafe.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public class BukkitUnsafe {
*
* @param id Namespaced ID with or without a namespace. IDs without a namespace will be treated
* as minecraft namespaced IDs. ('minecraft:dirt' and 'dirt' are equivalent.)
* @return The Material the id represents, or null if no material can be matched.
* @return The Material which the id represents, or null if no material can be matched.
* @deprecated Prefer {@link BukkitUnsafe#getMaterialFromNamespacedId(String)}
*/
@Deprecated
Expand All @@ -84,7 +84,7 @@ public class BukkitUnsafe {
*
* @param id Namespaced ID with or without a namespace. IDs without a namespace will be treated
* as minecraft namespaced IDs. ('minecraft:dirt' and 'dirt' are equivalent.)
* @return The Material the id represents, or null if no material can be matched.
* @return The Material which the id represents, or null if no material can be matched.
*/
public static @Nullable Material getMaterialFromNamespacedId(String id) {
return Material.matchMaterial(id.toLowerCase().startsWith(NamespacedKey.MINECRAFT + ":")
Expand Down

0 comments on commit 070b0ba

Please sign in to comment.