From 7bc930cf002e08b1e9b7497e0a9a55694491c85e Mon Sep 17 00:00:00 2001 From: Kamron Batman Date: Fri, 30 Nov 2018 23:20:48 -0800 Subject: [PATCH] Fixes crash bug with house region (#9) --- Scripts/Regions/HouseRegion.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/Regions/HouseRegion.cs b/Scripts/Regions/HouseRegion.cs index 1203e1d46..964c8ab5c 100644 --- a/Scripts/Regions/HouseRegion.cs +++ b/Scripts/Regions/HouseRegion.cs @@ -91,7 +91,7 @@ namespace Server.Regions if (bc?.NoHouseRestrictions == true) { } - else if (bc.IsHouseSummonable == true && + else if (bc?.IsHouseSummonable == true && !(BaseCreature.Summoning || House.IsInside(oldLocation, 16))) { }