Skip to content

Commit

Permalink
fixed jakes stupidity
Browse files Browse the repository at this point in the history
  • Loading branch information
cytocracy committed Jul 26, 2021
1 parent 5c17852 commit bf26395
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -745,31 +745,31 @@ public boolean onCommand(CommandSender sender, Command cmd, String label, String

String name = player.getName();

name.concat(", ");
name = name.concat(", ");

if (player.hasPermission("meta.rank.owner")) {
owners.concat(name);
owners = owners.concat(name);
} else if (player.hasPermission("meta.rank.dev")) {
devs.concat(name);
devs = devs.concat(name);
} else if (player.hasPermission("meta.rank.builders")) {
builders.concat(name);
builders = builders.concat(name);
} else if (player.hasPermission("meta.rank.staff")) {
staff.concat(name);
staff = staff.concat(name);
} else if (player.hasPermission("meta.rank.supporters")) {
supporters.concat(name);
supporters = supporters.concat(name);
} else {
visitors.concat(name);
visitors = visitors.concat(name);
}

}


owners = owners.substring(0, owners.length());
devs = devs.substring(0, devs.length());
builders = builders.substring(0, builders.length());
staff = staff.substring(0, staff.length());
supporters = supporters.substring(0, supporters.length());
visitors = visitors.substring(0, visitors.length());
owners = owners.substring(0, owners.length() -2);
devs = devs.substring(0, devs.length() -2);
builders = builders.substring(0, builders.length() -2);
staff = staff.substring(0, staff.length() -2);
supporters = supporters.substring(0, supporters.length() -2);
visitors = visitors.substring(0, visitors.length() -2);

player.sendMessage("§3§l============= §f" + onlineammount + " §d§oOnline Players §3§l=============\n" +
" \n");
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: ParadisuPlugin
version: 2.5.0
version: 2.5.1
authors: [JakeDaDream, RealInstantRamen, andyinnie, _Kastle]
main: me.jakedadream.ParadisuPlugin.paradisumain
api-version: 1.16
Expand Down

0 comments on commit bf26395

Please sign in to comment.