mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-05 10:20:53 +01:00
SPIGOT-4785: Experience etc lost returning from end
This commit is contained in:
parent
c9fa596b9d
commit
5e0b63c1a0
@ -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 New Issue
Block a user