Skip to content

Commit

Permalink
修复断线重连后出生点的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
boybook committed Aug 4, 2023
1 parent e0a1fac commit aec65ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/cn/nukkit/Player.java
Original file line number Diff line number Diff line change
Expand Up @@ -2252,7 +2252,7 @@ protected void processLogin() {

nbt.putString("NameTag", this.username);

if (0 >= nbt.getShort("Health")) {
if (0 >= nbt.getFloat("Health")) {
alive = false;
}

Expand Down

0 comments on commit aec65ca

Please sign in to comment.