3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 12:30:06 +01:00

SPIGOT-4650: Charging API for Vex

Dieser Commit ist enthalten in:
md_5 2019-03-05 16:47:33 +11:00
Ursprung f102d88299
Commit faa6226959

Datei anzeigen

@ -25,4 +25,14 @@ public class CraftVex extends CraftMonster implements Vex {
public EntityType getType() { public EntityType getType() {
return EntityType.VEX; return EntityType.VEX;
} }
@Override
public boolean isCharging() {
return getHandle().dA();
}
@Override
public void setCharging(boolean charging) {
getHandle().a(charging);
}
} }