#Plugin not loading on server startup

1 messages · Page 1 of 1 (latest)

pliant pagoda
#

My plugin isnt starting up, It gives me an error saying nullpointerexeption on line 26, I check 26 and its just getting the spawn location on a world from its name. There error is in next msg

spring jacinth
#

can you give code?

pliant pagoda
#

yea

#

im about to send

#

sorry

#

i copy pasted the wrong this .-.

#

Location defaultStoredLOC = getServer().getWorld("Practice").getSpawnLocation();

#

code causing it

#
    at com.github.ukraine1449.kronteq.Kronteq.<init>(Kronteq.java:26) ~[?:?]``` this is the error
spring jacinth
#

dont use locations before the world is loaded

pliant pagoda
#

ohhh ok