Fixes crash bug with house region (#9)

This commit is contained in:
Kamron Batman 2018-11-30 23:20:48 -08:00 • committed by GitHub
parent 647d6c0fd0
commit 7bc930cf00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,7 +91,7 @@ namespace Server.Regions
if (bc?.NoHouseRestrictions == true) if (bc?.NoHouseRestrictions == true)
{ {
} }
else if (bc.IsHouseSummonable == true && else if (bc?.IsHouseSummonable == true &&
!(BaseCreature.Summoning || House.IsInside(oldLocation, 16))) !(BaseCreature.Summoning || House.IsInside(oldLocation, 16)))
{ {
} }