Fix Nym's DNA Extractor / Collection handle object on object

This commit is contained in:
AconiteX
2021-08-29 19:28:04 -04:00
parent bf6e64125d
commit 12d55a1fac
5 changed files with 257 additions and 160 deletions
@@ -1640,10 +1640,6 @@ public class base_player extends script.base_script
outparams.put("player", self);
messageTo(cityHall, "msgCheckMyCityMotd", outparams, 0, false);
}
if(groundquests.hasCompletedQuest(self, "u16_nym_themepark_miner_dna_collection") && utils.playerHasStaticItemInBankOrInventory(self, "item_nym_themepark_dna_extractor")) {
obj_id dna_extractor = utils.getStaticItemInBankOrInventory(self, "item_nym_themepark_dna_extractor");
if(isValidId(dna_extractor)) utils.destroyObject(dna_extractor);
}
return SCRIPT_CONTINUE;
}
public int disconnectPlayerCtsCompletedOrInProgress(obj_id self, dictionary params) throws InterruptedException