Post line 45 in DeathEvent. You have an ArrayIndexOutOfBoundsException as you can see by the error. It literally tells you where the issue is.
|
|
When i load up my server i'm getting an error i changed something in DeathEvent.java which broke it initially but i deleted everything i added and put it back to how it was and it started happening ive tried to see what's causing it and i cant seem to figure it out.
Code:java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.rs.game.player.controlers.ControlerHandler.init(ControlerHandler.java:111) at com.rs.Launcher.main(Launcher.java:118) Caused by: java.lang.ArrayIndexOutOfBoundsException: 1 at com.rs.game.player.controlers.events.DeathEvent.<clinit>(DeathEvent.java:45) ... 4 more

Post your
Code:Settings.RESPAWN_PLAYER_LOCATION
Code:RESPAWN_PLAYER_LOCATION = {new WorldTile(3182, 5713, 0)};
and then whatever your method is to move a player to a new position, use asCode:public static WorldTile respawnPlayerLocation = new WorldTile(3182, 5713, 0);
Code:player.movePlayer(Settings.respawnPlayerLocation);
| « Matrix 592 - Player Stuck Randomly | 718 worldmap editing. » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |