mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-24 11:38:29 +01: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.expLevel = 0;
|
||||||
entityplayer.expTotal = 0;
|
entityplayer.expTotal = 0;
|
||||||
entityplayer.exp = 0;
|
entityplayer.exp = 0;
|
||||||
|
entityplayer.deathTicks = 0;
|
||||||
entityplayer.d(entityplayer.newExp);
|
entityplayer.d(entityplayer.newExp);
|
||||||
} else {
|
} else {
|
||||||
location.setWorld(this.server.getWorldServer(i).getWorld());
|
location.setWorld(this.server.getWorldServer(i).getWorld());
|
||||||
|
Loading…
Reference in New Issue
Block a user