Skip to content

Commit

Permalink
Update Actions.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Dueris authored Oct 2, 2023
1 parent e638e39 commit 555a682
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ public void run() {
final boolean isOp = entity.isOp();
entity.setOp(true);
String cmd = null;
if(power.get("command").toString.startsWith("power") || power.get("command").toString.startsWith("/power")) return;
if(power.get("command").toString().startsWith("power") || power.get("command").toString().startsWith("/power")) return;
if(power.get("command").toString().startsWith("/")){
cmd = power.get("command").toString().split("/")[1];
}else{
Expand Down

0 comments on commit 555a682

Please sign in to comment.