Fix Items

This commit is contained in:
坏黑 2019-07-12 12:35:03 +08:00
parent 3d60301630
commit afcdcad0d7

View File

@ -125,7 +125,7 @@ public class Items {
} }
public static ItemStack replaceName(ItemStack item, String nameOld, String nameNew) { 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) { public static ItemStack replaceLore(ItemStack item, String loreOld, String loreNew) {