From e8a199e498120e86b11d56e541a136b26db8f95b Mon Sep 17 00:00:00 2001 From: Nathan Oines <75092691+Senion31@users.noreply.github.com> Date: Fri, 27 Dec 2024 14:29:28 -0600 Subject: [PATCH] fix: Allow guildstone movement within the same house (#2031) - Adjusted condition to prevent unnecessary "one guildstone per house" restriction when moving the guildstone inside the same house since the guildstone does not disappear after teleporter generation. Refactors the teleportation logic for improved user experience. --- Projects/UOContent/Items/Guilds/GuildTeleporter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projects/UOContent/Items/Guilds/GuildTeleporter.cs b/Projects/UOContent/Items/Guilds/GuildTeleporter.cs index 81d7efa127..dc471b0ad5 100644 --- a/Projects/UOContent/Items/Guilds/GuildTeleporter.cs +++ b/Projects/UOContent/Items/Guilds/GuildTeleporter.cs @@ -51,7 +51,7 @@ public override void OnDoubleClick(Mobile from) { from.SendLocalizedMessage(501141); // You can only place a guildstone in a house you own! } - else if (house.FindGuildstone() != null) + else if (house.FindGuildstone() != null && house.FindGuildstone() != _stone) { from.SendLocalizedMessage(501142); // Only one guildstone may reside in a given house. }