SPIGOT-4650: Charging API for Vex

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2019-03-05 16:47:33 +11:00
parent a6bce7bfb4
commit a257532ba2

View File

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