Change "i" to "this"
And it looks like there is a space in the middle of players, remove it.
|
I got this error while doing this tutorial: http://www.rune-server.org/runescape...s-handler.html
Code:src\server\model\players\Client.java:875: cannot find symbol symbol : variable i location: class server.model.players.Client CycleEventHandler.getSingleton().stopEvents((Client)play ers[i]); ^ src\server\model\players\Client.java:875: array required, but java.util.List<ser ver.model.players.Player> found CycleEventHandler.getSingleton().stopEvents((Client)play ers[i]); ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 2 errors Press any key to continue . . .
Change "i" to "this"
And it looks like there is a space in the middle of players, remove it.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |