Apply last location on gamemode change profile.
Not sure if there is an open issue for this (maybe #108). In short, this will fix last location not saving to player profile on gamemode change.
Test build: Multiverse-Inventories-4.2.3-SNAPSHOT.zip
This looks good to me, but I'm going to test an alternative solution first.
edit: it might take me a couple days though, I'm currently swamped with schoolwork.
ah al;right, what's the alternate solution 👀
Never got around to it 😔. The solution I had in mind is to save last location in the proper spot (in its updateProfile method), but only for gamemode changes, not world changes.