|
|
@ -61,7 +61,7 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler { |
|
|
|
if (!npc.minions.contains(toRemove.getObjectUUID())) |
|
|
|
if (!npc.minions.contains(toRemove.getObjectUUID())) |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
|
|
|
|
|
|
|
|
npc.minions.remove(toRemove.getObjectUUID()); |
|
|
|
npc.minions.remove(Integer.valueOf(toRemove.getObjectUUID())); |
|
|
|
|
|
|
|
|
|
|
|
WorldGrid.RemoveWorldObject(toRemove); |
|
|
|
WorldGrid.RemoveWorldObject(toRemove); |
|
|
|
|
|
|
|
|
|
|
@ -185,7 +185,7 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler { |
|
|
|
if (!DbManager.MobQueries.REMOVE_FROM_GUARDS(npc.getObjectUUID(), toRemove.firstName)) |
|
|
|
if (!DbManager.MobQueries.REMOVE_FROM_GUARDS(npc.getObjectUUID(), toRemove.firstName)) |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
|
|
|
|
|
|
|
|
npc.minions.remove(toRemove.getObjectUUID()); |
|
|
|
npc.minions.remove(Integer.valueOf(toRemove.getObjectUUID())); |
|
|
|
|
|
|
|
|
|
|
|
WorldGrid.RemoveWorldObject(toRemove); |
|
|
|
WorldGrid.RemoveWorldObject(toRemove); |
|
|
|
|
|
|
|
|
|
|
|