1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-17 12:01:20 +02:00

fix /back resetting on logout

This commit is contained in:
Iaccidentally
2012-06-22 03:44:19 -04:00
parent 47e73206df
commit db08af3c07

View File

@@ -120,7 +120,9 @@ public class EssentialsPlayerListener implements Listener
{ {
user.toggleVanished(); user.toggleVanished();
} }
if (user.getLastLocation() == null) {
user.setLastLocation(); user.setLastLocation();
}
user.updateActivity(false); user.updateActivity(false);
user.dispose(); user.dispose();
} }