Add ItemMeta customName methods (#11685)
This commit is contained in:
@@ -1653,7 +1653,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
@@ -0,0 +0,0 @@ class CraftMetaPotion extends CraftMetaItem implements PotionMeta {
|
||||
|
||||
@Override
|
||||
public void setCustomName(String customName) {
|
||||
public void setCustomPotionName(String customName) {
|
||||
+ Preconditions.checkArgument(customName == null || customName.length() <= 32767, "Custom name is longer than 32767 characters");
|
||||
this.customName = customName;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user