Your calling DonatorCommands(Client c, String something), it's saying that method does not exist so your going to have to make it.
|
Hey guys I added a'lot of commands and then I ended up with 7 errors, I fixed them all and basically the only thing is left is this one silly method code and I cannot seem to fix it no matter how hard I try haha Tongue
So I was wondering if anyone could help me out and I will post a screenshot of the error here
right below...
Screenshot by Lightshot
THIS LINK IS ONLY A SCREENSHOT NOTHING ELSE.
Your calling DonatorCommands(Client c, String something), it's saying that method does not exist so your going to have to make it.
let me show u the whole command so you know what it is im talking about altho im sure you already know here..
if (Config.SERVER_DEBUG)
Misc.println(c.playerName+" playerCommand: "+playerCommand);
if (c.playerRights >= 0 || c.playerRights == 7)
playerCommands(c, playerCommand);
if (c.playerRights == 1 || c.playerRights == 2 || c.playerRights == 6 || c.playerRights == 3)
moderatorCommands(c, playerCommand);
if (c.playerRights == 2 || c.playerRights == 6 || c.playerRights == 3)
administratorCommands(c, playerCommand);
if (c.playerRights == 3 || c.playerRights == 6)
ownerCommands(c, playerCommand);
if (c.playerRights == 4)
DonatorCommands(c, playerCommand); <<<<<< this seems to be giving me the error
}
public void playerCommands(Client c, String playerCommand)
{
let me show u the whole command so you know what it is im talking about altho im sure you already know here..
if (Config.SERVER_DEBUG)
Misc.println(c.playerName+" playerCommand: "+playerCommand);
if (c.playerRights >= 0 || c.playerRights == 7)
playerCommands(c, playerCommand);
if (c.playerRights == 1 || c.playerRights == 2 || c.playerRights == 6 || c.playerRights == 3)
moderatorCommands(c, playerCommand);
if (c.playerRights == 2 || c.playerRights == 6 || c.playerRights == 3)
administratorCommands(c, playerCommand);
if (c.playerRights == 3 || c.playerRights == 6)
ownerCommands(c, playerCommand);
if (c.playerRights == 4)
DonatorCommands(c, playerCommand); <<<<<< this seems to be giving me the error
}
public void playerCommands(Client c, String playerCommand)
{
Paste this near the bottom:
Code:public void DonatorCommands(Client c, String playerCommand) { }
okay when i did that i got even more errors about 6 here's a pic so you know what i'm talking about Screenshot by Lightshot
As any other commands. The're not caps in the beginning.
DonatorCommands replace it with donatorCommands
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
Tags for this Thread |