geforkt von Mirrors/Paper
Fix polarity of Bat.isAwake() and Bat.setAwake(boolean). Fixes BUKKIT-5624
Dieser Commit ist enthalten in:
Ursprung
a1f3d35808
Commit
4ab4fa5bb1
@ -26,11 +26,11 @@ public class CraftBat extends CraftAmbient implements Bat {
|
||||
|
||||
@Override
|
||||
public boolean isAwake() {
|
||||
return getHandle().isStartled();
|
||||
return !getHandle().isStartled();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAwake(boolean state) {
|
||||
getHandle().setStartled(state);
|
||||
getHandle().setStartled(!state);
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren