mirror of
https://e.coding.net/circlecloud/QuickShop.git
synced 2024-11-22 01:58:54 +00:00
feat: 调整名称获取方式
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
219bbb5539
commit
fce1e797b9
@ -162,7 +162,7 @@ public class Util {
|
|||||||
* @return The human readable item name.
|
* @return The human readable item name.
|
||||||
*/
|
*/
|
||||||
public static String getName(final ItemStack i) {
|
public static String getName(final ItemStack i) {
|
||||||
final String vanillaName = L10N.getItemFullName(i);
|
final String vanillaName = L10N.getItemName(i);
|
||||||
return vanillaName;
|
return vanillaName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user