|
|
@ -9,6 +9,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
package engine.devcmd.cmds; |
|
|
|
package engine.devcmd.cmds; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import engine.InterestManagement.InterestManager; |
|
|
|
import engine.InterestManagement.WorldGrid; |
|
|
|
import engine.InterestManagement.WorldGrid; |
|
|
|
import engine.devcmd.AbstractDevCmd; |
|
|
|
import engine.devcmd.AbstractDevCmd; |
|
|
|
import engine.gameManager.BuildingManager; |
|
|
|
import engine.gameManager.BuildingManager; |
|
|
@ -36,6 +37,7 @@ public class SetRaceCmd extends AbstractDevCmd { |
|
|
|
NPC npc = (NPC)target; |
|
|
|
NPC npc = (NPC)target; |
|
|
|
npc.loadID = newRace; |
|
|
|
npc.loadID = newRace; |
|
|
|
DbManager.NPCQueries.UPDATE_RACE(npc,newRace); |
|
|
|
DbManager.NPCQueries.UPDATE_RACE(npc,newRace); |
|
|
|
|
|
|
|
InterestManager.reloadCharacter(npc); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|