mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 14:25:26 +00:00
SPIGOT-4785: Experience etc lost returning from end
This commit is contained in:
parent
c9fa596b9d
commit
5e0b63c1a0
1 changed files with 1 additions and 1 deletions
|
@ -475,7 +475,7 @@
|
|||
+ cserver.getPluginManager().callEvent(respawnEvent);
|
||||
+
|
||||
+ location = respawnEvent.getRespawnLocation();
|
||||
+ entityplayer.reset();
|
||||
+ if (!flag) entityplayer.reset(); // SPIGOT-4785
|
||||
+ } else {
|
||||
+ location.setWorld(server.getWorldServer(dimensionmanager).getWorld());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue