Skip to content
Success

Changes

Summary

  1. Improve handling of NPC names, fixes #1640 (#1642) (commit: 9e0b4e0) (details)
  2. update old version in main plugin pom (commit: 50619f3) (details)
  3. (experimental) fix for #1569 turtle NPC navigation issues (#1644) (commit: a21d16c) (details)
Commit 9e0b4e0ab9aaf0c31bb4ab84e2d0a7c85a6920be by fullwall
Improve handling of NPC names, fixes #1640 (#1642)
* Improve handling of NPC names, fixes #1640
Moves the logic to a Util method (instead of duplicated in each
module), and adds the "prefixColors" portions (replacing just a static
'RESET' code).
recent effect is sufficient (eg reapplying bold) as that should produce
effectively no change while still having a color code stuck into the
name as is needed to break NPCs looking like real players internally.

* Additional NPC name improvement: fix color code splliting
a name consisting of a color code followed by 15 letters would get
split in the middle of the color code, rather than around it. This fixes
that.
(commit: 9e0b4e0)
The file was modified v1_11_R1/src/main/java/net/citizensnpcs/nms/v1_11_R1/entity/HumanController.java (diff)
The file was modified main/src/main/java/net/citizensnpcs/util/Util.java (diff)
The file was modified v1_12_R1/src/main/java/net/citizensnpcs/nms/v1_12_R1/entity/HumanController.java (diff)
The file was modified v1_10_R1/src/main/java/net/citizensnpcs/nms/v1_10_R1/entity/HumanController.java (diff)
The file was modified v1_13_R2/src/main/java/net/citizensnpcs/nms/v1_13_R2/entity/HumanController.java (diff)
The file was modified v1_8_R3/src/main/java/net/citizensnpcs/nms/v1_8_R3/entity/HumanController.java (diff)
Commit 50619f3aad7d511f3d8abff8e5018a7a74b9a628 by mcmonkey
update old version in main plugin pom
(commit: 50619f3)
The file was modified main/pom.xml (diff)
Commit a21d16c581f58884be172cf9d6296d0ce2d8ddcc by fullwall
(experimental) fix for #1569 turtle NPC navigation issues (#1644)
* (experimental) fix for #1569 turtle NPC navigation issues

* (for turtle issue) remove the stray field and set the internal field
instead
(commit: a21d16c)
The file was modified v1_13_R2/src/main/java/net/citizensnpcs/nms/v1_13_R2/entity/TurtleController.java (diff)