mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 05:47:45 +01:00
Fix api compile
This commit is contained in:
parent
faac14cc4c
commit
d527aa0f5b
@ -473,7 +473,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ */
|
||||
+ @NotNull
|
||||
+ public ParticleBuilder color(@Nullable Color color, float size) {
|
||||
+ if (particle != Particle.REDSTONE && color != null) {
|
||||
+ if (particle != Particle.DUST && color != null) {
|
||||
+ throw new IllegalStateException("Color may only be set on REDSTONE");
|
||||
+ }
|
||||
+
|
||||
|
@ -1599,10 +1599,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
* @return the localized name that is set
|
||||
* @deprecated meta no longer exists
|
||||
*/
|
||||
+ @Deprecated // Paper - Deprecate old localized API
|
||||
@NotNull
|
||||
@Deprecated(forRemoval = true)
|
||||
String getLocalizedName();
|
||||
@@ -0,0 +0,0 @@ public interface ItemMeta extends Cloneable, ConfigurationSerializable, Persiste
|
||||
/**
|
||||
* Sets the localized name.
|
||||
|
Loading…
Reference in New Issue
Block a user