Beispiel #1
0
 // Sets the colour of an npc's name.
 public static void setColour(int UID, String owner) {
   removeForRespawn(UID);
   register(UID, owner, NPCCreateReason.RESPAWN);
 }
Beispiel #2
0
 // Renames an npc.
 public static void rename(int UID, String changeTo, String owner) {
   HumanNPC npc = get(UID);
   npc.getNPCData().setName(changeTo);
   removeForRespawn(UID);
   register(UID, owner, NPCCreateReason.RESPAWN);
 }