Contract handling cleanup.

This commit is contained in:
MagicBot committed 2023-08-25 13:31:56 -04:00
1 parent 52486fa278
commit 89bfad78a6
1 file changed
+4 -1
+4 -1
View File
@@ -489,7 +489,10 @@ public class Mob extends AbstractIntelligenceAgent {
mobile.firstName = pirateName;
mobile.contractUUID = contract.getContractID();
if (contract == null)
mobile.contractUUID = 0;
else
mobile.contractUUID = contract.getContractID();
Mob mob;