Solved p.setBedSpawnLocation does not work.

Discussion in 'Plugin Development' started by Superior_Slime, Jan 10, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    Superior_Slime

    EDIT: Solved by using p.setBedSpawnLocation(p.getLocation(), true); which forces the bed spawn setting

    I am using p.setBedSpawnLocation in my plugin. When I later attempt to check for this location, it returns null.

    I am using:

    p.setBedSpawnLocation(p.getLocation());


    and then:

    if(p.getBedSpawnLocation() != null)


    Any help appreciated, thanks :cool:
     
    Last edited: Jan 10, 2015
Thread Status:
Not open for further replies.

Share This Page