mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 17:22:55 +01:00
SPIGOT-4785: Experience etc lost returning from end
By: md_5 <git@md-5.net>
This commit is contained in:
parent
748c652126
commit
e36edd57b4
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