geforkt von Mirrors/Paper
Implement awake flag for bats. Adds BUKKIT-5606
By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
5b252941b0
Commit
f9d2ead6bf
@ -23,4 +23,14 @@ public class CraftBat extends CraftAmbient implements Bat {
|
||||
public EntityType getType() {
|
||||
return EntityType.BAT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAwake() {
|
||||
return getHandle().isStartled();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAwake(boolean state) {
|
||||
getHandle().setStartled(state);
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren