mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-04 19:12:50 -04:00
Fixed arrayOutOfBounds error with bounties
This commit is contained in:
@@ -1345,7 +1345,7 @@ public class PlayerService implements INetworkDispatch {
|
||||
|
||||
@Override
|
||||
public void process(SWGObject owner, int eventType, Vector<String> returnList) {
|
||||
if (eventType == 0 && returnList.get(0) != null) {
|
||||
if (eventType == 0 && returnList.size() > 0 && returnList.get(0) != null) {
|
||||
int bounty = Integer.parseInt(returnList.get(0));
|
||||
int totalFunds = victim.getBankCredits() + victim.getCashCredits();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user