File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
plugin/src/main/kotlin/trplugins/menu/module/internal/script Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import org.bukkit.entity.Player
10
10
import org.bukkit.inventory.ItemStack
11
11
import org.bukkit.inventory.PlayerInventory
12
12
import taboolib.common.platform.function.adaptPlayer
13
+ import taboolib.common.platform.function.warning
13
14
import taboolib.common.util.random
14
15
import taboolib.library.xseries.XMaterial
15
16
import taboolib.module.chat.Components
@@ -166,7 +167,13 @@ class Assist {
166
167
* Internal - TabooLib Utils
167
168
*/
168
169
170
+ @Deprecated(" Typo method name" , ReplaceWith (" getItemBuilder()" ), DeprecationLevel .WARNING )
169
171
fun getItemBuildr (): ItemBuilder {
172
+ warning(" Assist#getItemBuildr() is deprecated, use getItemBuilder() instead." )
173
+ return ItemBuilder (XMaterial .STONE )
174
+ }
175
+
176
+ fun getItemBuilder (): ItemBuilder {
170
177
return ItemBuilder (XMaterial .STONE )
171
178
}
172
179
You can’t perform that action at this time.
0 commit comments