Try putting more brackets. Sometimes the errors can be misleading.
|
I keep getting this error. I keep deleting on what it says and it will keep going on to something else. I am using Project-Insanity source.Code:src\server\model\players\packets\Commands.java:271: reached end of file while parsing } ^ 1 error Press any key to continue . . .
Pastebin - http://paste.rune-server.org/644
Try putting more brackets. Sometimes the errors can be misleading.
That's the end of the Commands.Java.Code:if (playerCommand.startsWith("unmute")) { try { String playerToBan = playerCommand.substring(7); Connection.unMuteUser(playerToBan); } catch(Exception e) { c.sendMessage("Player Must Be Offline."); } } } } }
Add one or two more definite brackets (aka }) to the end of the class.
Code:src\server\model\players\packets\Commands.java:270: illegal start of type }) ^ src\server\model\players\packets\Commands.java:270: reached end of file while parsing }) ^ src\server\model\players\packets\Commands.java:280: reached end of file while parsing → ^ 3 errors Press any key to continue . . .
Take off the ')'. He wasn't meaning put that as well.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |