mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-12 09:51:12 +01: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…
Reference in a new issue