mirror of
https://bitbucket.org/seefoe/dsrc.git
synced 2026-09-11 21:45:23 -04:00
Fixed issue if the house deed doesn't exist.
This commit is contained in:
@@ -277,7 +277,7 @@ public class player_structure extends script.base_script
|
||||
}
|
||||
public static obj_id createTemporaryStructure(obj_id deed, obj_id owner, location loc, int rot, float placementHeight) throws InterruptedException
|
||||
{
|
||||
if (!isIdValid(deed))
|
||||
if (!isIdValid(deed) || !exists(deed) || deed == null || deed == obj_id.NULL_ID)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user