Skip to content
Success

Changes

Summary

  1. Fix for client NPE issue - don't missend player spawn packets (#1525) (commit: 221eb4b) (details)
Commit 221eb4b8d583add312610af1966f25da652d3781 by fullwall
Fix for client NPE issue - don't missend player spawn packets (#1525)
* Fix #1360 - don't missend player spawn packets
Player spawn packets were improperly sent by the Minecraft internals in
early NPC spawn sequence, when they are not valid to be sent yet. This
patch blocks their sending until the tracker system is pushed onto the
NPC. Tested and functional.

* improve long name cutting order, fixes #1422
ensures that root name will always be 16 characters if the given name
was too long - previously, the root name could be as small as a single
character (for input name of 17 characters).
(commit: 221eb4b)
The file was modifiedv1_10_R1/src/main/java/net/citizensnpcs/nms/v1_10_R1/util/NMSImpl.java
The file was modifiedv1_8_R3/src/main/java/net/citizensnpcs/nms/v1_8_R3/entity/HumanController.java
The file was modifiedv1_10_R1/src/main/java/net/citizensnpcs/nms/v1_10_R1/entity/HumanController.java
The file was modifiedv1_11_R1/src/main/java/net/citizensnpcs/nms/v1_11_R1/entity/EntityHumanNPC.java
The file was modifiedv1_8_R3/src/main/java/net/citizensnpcs/nms/v1_8_R3/entity/EntityHumanNPC.java
The file was modifiedv1_11_R1/src/main/java/net/citizensnpcs/nms/v1_11_R1/entity/HumanController.java
The file was modifiedv1_11_R1/src/main/java/net/citizensnpcs/nms/v1_11_R1/util/NMSImpl.java
The file was modifiedv1_12_R1/src/main/java/net/citizensnpcs/nms/v1_12_R1/entity/HumanController.java
The file was modifiedv1_8_R3/src/main/java/net/citizensnpcs/nms/v1_8_R3/util/NMSImpl.java
The file was modifiedv1_12_R1/src/main/java/net/citizensnpcs/nms/v1_12_R1/entity/EntityHumanNPC.java
The file was modifiedv1_12_R1/src/main/java/net/citizensnpcs/nms/v1_12_R1/util/NMSImpl.java
The file was modifiedv1_10_R1/src/main/java/net/citizensnpcs/nms/v1_10_R1/entity/EntityHumanNPC.java