diff --git a/Source/ACE.Server/WorldObjects/Hooker.cs b/Source/ACE.Server/WorldObjects/Hooker.cs index a006ac8e65..108b708bb8 100644 --- a/Source/ACE.Server/WorldObjects/Hooker.cs +++ b/Source/ACE.Server/WorldObjects/Hooker.cs @@ -48,7 +48,7 @@ public override ActivationResult CheckUseRequirements(WorldObject activator) return new ActivationResult(new GameEventWeenieError(player.Session, WeenieError.YouAreNotPermittedToUseThatHook)); var myHookGroup = HookGroup ?? HookGroupType.Undef; - if ((myHookGroup == HookGroupType.PortalItems || myHookGroup == HookGroupType.SpellTeachingItems) && hook.HouseType != HouseType.Mansion) + if ((myHookGroup == HookGroupType.PortalItems || myHookGroup == HookGroupType.SpellTeachingItems) && hook.House.HouseType != HouseType.Mansion) return new ActivationResult(new GameEventWeenieError(player.Session, WeenieError.YouAreNotPermittedToUseThatHook)); var baseRequirements = base.CheckUseRequirements(activator);