Skip to content
Success

Changes

Summary

  1. Fix teleport bugging (commit: 544f443) (details)
  2. Improve NPC pseudo-respawning (commit: ef1f747) (details)
Commit 544f44328f42988e60b19dfb0f225f0ed94d3edb by mcmonkey
Fix teleport bugging

Teleporting forcibly rounds locations because @fullwall edited the roundLocation function to return the original, now modified location, rather than clone it as is necessary to avoid trouble. This restores the original roundLocation which will avoid that error.
(commit: 544f443)
The file was modifiedsrc/main/java/net/citizensnpcs/EventListen.java (diff)
Commit ef1f74782259b52ba5602f4fb5c5efa7f07a2578 by mcmonkey4eva
Improve NPC pseudo-respawning

In initial testing, longer periods were better. However, that was before
a lot of recoding... shorter periods are now superior and keeping
significantly more NPCs visible (When dealing with batches so large that
the system fails to load them all)
(commit: ef1f747)
The file was modifiedsrc/main/java/net/citizensnpcs/util/NMS.java (diff)
The file was modifiedsrc/main/java/net/citizensnpcs/npc/entity/HumanController.java (diff)