mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-29 23:15:55 -04:00
Ignore pet repack if pet control device is not valid.
This commit is contained in:
Regular → Executable
+3
@@ -194,6 +194,9 @@ public class familiar extends script.base_script
|
||||
removePetBuff(master);
|
||||
}
|
||||
obj_id petControlDevice = callable.getCallableCD(pet);
|
||||
if(!isIdValid(petControlDevice)){
|
||||
return;
|
||||
}
|
||||
utils.setScriptVar(pet, "stored", true);
|
||||
dictionary messageData = new dictionary();
|
||||
messageData.put(MESSAGE_PET_ID, pet);
|
||||
|
||||
Reference in New Issue
Block a user