Skip to content

Commit

Permalink
closes issue #2
Browse files Browse the repository at this point in the history
  • Loading branch information
cytocracy committed Jul 29, 2021
1 parent a0b702a commit 94d7492
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -763,13 +763,32 @@ public boolean onCommand(CommandSender sender, Command cmd, String label, String

}

if (owners.length() != 0){
owners = owners.substring(0, owners.length() -2);
}
if (devs.length() != 0){
devs = devs.substring(0, devs.length() -2);

}
if (builders.length() != 0){
builders = builders.substring(0, builders.length() -2);

}
if (staff.length() != 0){
staff = staff.substring(0, staff.length() -2);

}
if (supporters.length() != 0){
supporters = supporters.substring(0, supporters.length() -2);

}
if (visitors.length() != 0){
visitors = visitors.substring(0, visitors.length() -2);

}



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.6.2
version: 2.6.3
authors: [JakeDaDream, RealInstantRamen, andyinnie, _Kastle, cytocracy]
main: me.jakedadream.ParadisuPlugin.paradisumain
api-version: 1.16
Expand Down

0 comments on commit 94d7492

Please sign in to comment.