Added Tracking Droids, refined Bounty Missions

A few things need to be done like the stacks for the droids. Right now
they won't be destroyed from inventory until this is implemented.
This commit is contained in:
Waverunner
2014-05-03 18:03:00 -04:00
parent 70d63139e6
commit 7860a8b668
12 changed files with 308 additions and 33 deletions
+2 -3
View File
@@ -897,9 +897,8 @@ public class ObjectService implements INetworkDispatch {
if(!core.getConfig().getString("MOTD").equals(""))
creature.sendSystemMessage(core.getConfig().getString("MOTD"), (byte) 2);
BountyListItem bounty = (BountyListItem) core.getBountiesODB().get(creature.getObjectId());
if (bounty != null)
core.missionService.getBountyList().add(bounty);
if (core.getBountiesODB().contains(creature.getObjectId()))
core.missionService.getBountyList().add((BountyListItem) core.getBountiesODB().get(creature.getObjectId()));
if (creature.getSlottedObject("datapad") != null) {
creature.getSlottedObject("datapad").viewChildren(creature, true, false, new Traverser() {