mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-30 00:15:57 -04:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user