Browse Source

Contract handling cleanup.

mobile-class-refactor
MagicBot 1 year ago
parent
commit
89bfad78a6
  1. 5
      src/engine/objects/Mob.java

5
src/engine/objects/Mob.java

@ -489,7 +489,10 @@ public class Mob extends AbstractIntelligenceAgent {
mobile.firstName = pirateName; mobile.firstName = pirateName;
mobile.contractUUID = contract.getContractID(); if (contract == null)
mobile.contractUUID = 0;
else
mobile.contractUUID = contract.getContractID();
Mob mob; Mob mob;

Loading…
Cancel
Save