Add the keyword public before the PlayerHandler constructor.
|
|
I know the fix, but I don't get what to do for this.Code:Now starting build of Solaris Source Code. src\com\rs2\worldserver\server.java:27: PlayerHandler() is not public in com.rs2 .worldserver.player.PlayerHandler; cannot be accessed from outside package playerHandler = new PlayerHandler(); ^ 1 error Building of Solaris Source Code complete. Press any key to continue . . .
It seems to be public?Code:public static String playersCurrentlyOn[] = new String[maxPlayers]; PlayerHandler() { for(int i = 0; i < maxPlayers; i++) { players[i] = null; } }


Add the keyword public before the PlayerHandler constructor.
| « Creativescape easy and hard question | NullPointer » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |