dB.report(scriptEntry, getName(), name.debug());
NPC npc = ((BukkitScriptEntryData)scriptEntry.entryData).getNPC().getCitizen();
Location prev = npc.isSpawned() ? npc.getEntity().getLocation() : null;
npc.despawn(DespawnReason.PENDING_RESPAWN);
npc.setName(name.asString().length() > 100 ? name.asString().substring(0, 100): name.asString());
if (prev != null)
npc.spawn(prev);
}