mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-13 22:01:04 -04:00
Added logging for incorrect housing sign object id errors and bypassed java dump.
This commit is contained in:
@@ -2638,10 +2638,14 @@ public class player_structure extends script.base_script
|
||||
}
|
||||
if (!hasObjVar(structure, "player_structure.sign.id"))
|
||||
{
|
||||
LOG("sissynoid", "Structure(" + structure + ") does not have a House Sign ObjVar");
|
||||
LOG("playerStructure", "Structure(" + structure + ") at location [" + getLocation(structure).toString() + "] does not have a House Sign ObjVar");
|
||||
return;
|
||||
}
|
||||
obj_id signId = getObjIdObjVar(structure, "player_structure.sign.id");
|
||||
if(!isValidId(signId)){
|
||||
LOG("playerStructure", "Structure (" + structure + ") at location [" + getLocation(structure).toString() + "] has an invalid value for player_structure.sign.id.");
|
||||
return;
|
||||
}
|
||||
String signText = getName(signId);
|
||||
int indexOfAbandonedText = signText.indexOf(player_structure.CITY_ABANDONED_TEXT);
|
||||
if (indexOfAbandonedText > -1)
|
||||
|
||||
Reference in New Issue
Block a user