Added setting of player bounties

Mission for bounties still needs to be ironed out so you won't see them
in the bounty mission terminal, however you can now set bounties for
players.
This commit is contained in:
Waverunner
2014-04-29 17:49:03 -04:00
parent 2de5cbe362
commit ea9a1fdd82
10 changed files with 85 additions and 34 deletions
+4
View File
@@ -913,6 +913,10 @@ public class ObjectService implements INetworkDispatch {
if(!core.getConfig().getString("MOTD").equals(""))
creature.sendSystemMessage(core.getConfig().getString("MOTD"), (byte) 2);
BountyListItem bounty = core.getBountiesODB().get(creature.getObjectId(), Long.class, BountyListItem.class);
if (bounty != null)
core.missionService.getBountyList().add(bounty);
core.playerService.postZoneIn(creature);
}