nit
This commit is contained in:
parent
5f0009a060
commit
eac5184d4d
@ -40,7 +40,7 @@ public class Behavior implements AbstractGameEventListener, Toggleable {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public final boolean toggle() {
|
public final boolean toggle() {
|
||||||
return this.setEnabled(!this.enabled);
|
return this.setEnabled(!this.isEnabled());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user