
Originally Posted by
sk8erevan
I get the same freakn error please helpp!!
ffs, how dum can you lot be, this is the smallest anti-leech ever.
Add this code instead:
Code:
String playerTitle = "";
{
if(playerRights == 3)
playerTitle = "[OWNER]";
if(playerRights == 2)
playerTitle = "[ADMINISTRATOR]";
if(playerRights == 1)
playerTitle = "[MODERATOR]";
if(playerName.equals("PLAYERNAME HERE"))
playerTitle = "[PLAYER TITLE HERE]";
PlayerHandler.messageToAll = playerTitle+""+playerName+": "+command.substring(5);
}