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