From afcdcad0d73acea39d67be717fecf3a41e3bba8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=9D=8F=E9=BB=91?= Date: Fri, 12 Jul 2019 12:35:03 +0800 Subject: [PATCH] Fix Items --- src/main/scala/io/izzel/taboolib/util/item/Items.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/io/izzel/taboolib/util/item/Items.java b/src/main/scala/io/izzel/taboolib/util/item/Items.java index aa305c8..90153e9 100644 --- a/src/main/scala/io/izzel/taboolib/util/item/Items.java +++ b/src/main/scala/io/izzel/taboolib/util/item/Items.java @@ -125,7 +125,7 @@ public class Items { } public static ItemStack replaceName(ItemStack item, String nameOld, String nameNew) { - return replaceLore(item, ImmutableMap.of(nameOld, nameNew)); + return replaceName(item, ImmutableMap.of(nameOld, nameNew)); } public static ItemStack replaceLore(ItemStack item, String loreOld, String loreNew) {