From 070b0bab0fea00f5d4bedda8cc4be353d653c99d Mon Sep 17 00:00:00 2001 From: XPYEX Date: Thu, 3 Oct 2024 02:05:48 +0800 Subject: [PATCH] style: style --- src/main/java/ch/njol/skript/bukkitutil/BukkitUnsafe.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/ch/njol/skript/bukkitutil/BukkitUnsafe.java b/src/main/java/ch/njol/skript/bukkitutil/BukkitUnsafe.java index 4ba3a18e4a9..bea439f1753 100644 --- a/src/main/java/ch/njol/skript/bukkitutil/BukkitUnsafe.java +++ b/src/main/java/ch/njol/skript/bukkitutil/BukkitUnsafe.java @@ -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 @@ -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 + ":")