Fixed bounty hunter null exception

This commit is contained in:
Treeku
2014-05-13 02:56:34 +01:00
parent 3ac422a8bb
commit 0ddd645b7e
+3 -1
View File
@@ -272,7 +272,9 @@ public class ConnectionService implements INetworkDispatch {
}
}*/
core.missionService.getBountyMap().remove(core.getBountiesODB().get(object.getObjectID()));
if (core.getBountiesODB().contains(object.getObjectID())) {
core.missionService.getBountyMap().remove(core.getBountiesODB().get(object.getObjectID()));
}
ghost.toggleFlag(PlayerFlags.LD);