Citizens - the premier plugin and API for creating server-side NPCs in Minecraft.
Go to file
JCThePants 3223ba53f6 Fix NPC's are not visible sometimes
...Fixed invisible NPC's by allowing new update tasks to cancel current
tasks instead of cancelling the new task in SkinPacketTracker#updateViewer

cancel packets in SkinPacketTracker#updateViewer after getting PlayerEntry to ensure current scheduled tasks are cancelled.

remove LinkedList, replace with ArrayDeque

ensure EventListen#recalculatePlayer does not execute for NPC's

do a little less work in EventListen.SkinUpdateTracker#shouldUpdate

don't add skinnable entity to pending map if using cache skin - Skin#apply

remove redundant fetch per NPC in Skin; Skin can already fetch once for itself

fix and improve thread safety for profile fetcher; prevent external access
to threads Runnable interface; honor subscriber always invoked from main
thread.

rename ProfileFetchSubscriber to ProfileFetchHandler since subscriber implies the handler will be used continuously
2015-08-26 21:34:56 -07:00
src/main Fix NPC's are not visible sometimes 2015-08-26 21:34:56 -07:00
.gitignore Fix the sit animation, fixes #96 2014-10-31 16:27:19 -07:00
LICENSE added license 2012-02-25 04:20:58 -06:00
pom.xml Update POM.XML to latest Bukkit, Vault 2015-07-02 15:19:18 -07:00
README.md Update the readme 2015-05-25 11:21:15 -07:00

Citizens2 README

Citizens is an NPC plugin for the Bukkit API. It was first released on March 5, 2011, and has since seen numerous updates. Citizens provides an API which developers can use to create their own NPC characters.

Compatible with:

  • Minecraft 1.8.6
  • CitizensAPI 2.0.16