mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-23 02:55:45 +01:00
Add isPowered method
This commit is contained in:
parent
5bfb3e0fd7
commit
ab4060964c
@ -26,6 +26,10 @@ public class Powered extends Trait implements Toggleable {
|
||||
((Creeper) npc.getEntity()).setPowered(powered);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isPowered() {
|
||||
return powered;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean toggle() {
|
||||
|
Loading…
Reference in New Issue
Block a user