sets the deed to group flag to true if able when deeding to group a parcel

This commit is contained in:
Madpeter 2025-02-12 15:50:57 +00:00
parent 47a910b391
commit 63cad44d55

View file

@ -689,6 +689,7 @@ namespace SecondBotEvents.Commands
{ {
return Failure("Not in group", new [] { group }); return Failure("Not in group", new [] { group });
} }
ParcelStatic.ParcelSetFlag(ParcelFlags.AllowDeedToGroup, targetparcel, true);
targetparcel.GroupID = groupuuid; targetparcel.GroupID = groupuuid;
targetparcel.Update(GetClient()); targetparcel.Update(GetClient());
Thread.Sleep(500); Thread.Sleep(500);