Jump to content
  • 0

[HELP] Custom Spawn Location


Question

Posted

Hi.. I Just Put The Code For Custom Spawn Location But In GameServer Console I See Error On That Code...And Specially It Start With That :

java.lang.NumberFormatException: For input string: "x"

 

Why Error In Word X... Is The X,Y,Z you know... How TO Solve It.. ? ThX....

5 answers to this question

Recommended Posts

  • 0
Posted

Hi.. I Just Put The Code For Custom Spawn Location But In GameServer Console I See Error On That Code...And Specially It Start With That :

java.lang.NumberFormatException: For input string: "x"

 

Why Error In Word X... Is The X,Y,Z you know... How TO Solve It.. ? ThX....

Maybe if u put a screen with the error?It should help
  • 0
Posted

gmtx.jpg

but you will not understand much more thinks..Maybe You Need my source code....what i putted...

 

And Here Is The Error....In These Lines...

 

 

SPAWN_CHAR = Boolean.parseBoolean(L2JModSettings.getProperty("CustomSpawn", "false"));
		SPAWN_X = Integer.parseInt(L2JModSettings.getProperty("SpawnX", ""));
		SPAWN_Y = Integer.parseInt(L2JModSettings.getProperty("SpawnY", ""));
		SPAWN_Z = Integer.parseInt(L2JModSettings.getProperty("SpawnZ", ""));

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock