Solved GameMode from in PlayerGameModeChangeEvent

Discussion in 'Plugin Development' started by shades161, Jun 9, 2016.

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

    shades161

    I need to get the gamemode the player is changing FROM when they change their gamemode.

    I didn't see anything in the docs or via google that had this inside of the PlayerGameModeChangeEvent.

    Is there a way to get this info? (I know it has a gamemode to) without having to set up some sort of hashmap to monitor that? If not, I can just set up a hashmap and monitor, I'm just hoping for a simple solution.

    Thanks!
     
  2. Offline

    MisterErwin

  3. Offline

    shades161

    @MisterErwin Thanks. I had a bit of a dumb moment, thought that would give the same thing as the new gamemode. thank you!
     
Thread Status:
Not open for further replies.

Share This Page