mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-15 07:01:36 +08:00
Fixed Players from technically only dying once (thanks Qala)
This commit is contained in:
parent
a513406005
commit
4ce061ccbe
@ -267,6 +267,7 @@ public class ServerConfigurationManager {
|
||||
entityplayer.expLevel = 0;
|
||||
entityplayer.expTotal = 0;
|
||||
entityplayer.exp = 0;
|
||||
entityplayer.deathTicks = 0;
|
||||
entityplayer.d(entityplayer.newExp);
|
||||
} else {
|
||||
location.setWorld(this.server.getWorldServer(i).getWorld());
|
||||
|
Loading…
Reference in New Issue
Block a user