geforkt von Mirrors/Paper
Ursprung
51e69e6788
Commit
84f1d558c3
@ -218,7 +218,8 @@ class CraftMetaFirework extends CraftMetaItem implements FireworkMeta {
|
|||||||
return !(hasEffects() || hasPower());
|
return !(hasEffects() || hasPower());
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean hasPower() {
|
@Override
|
||||||
|
public boolean hasPower() {
|
||||||
return this.power != null;
|
return this.power != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -340,7 +341,7 @@ class CraftMetaFirework extends CraftMetaItem implements FireworkMeta {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getPower() {
|
public int getPower() {
|
||||||
return hasPower() ? this.power : 1;
|
return hasPower() ? this.power : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren