diff options
author | UbitUmarov | 2017-07-25 04:18:38 +0100 |
---|---|---|
committer | UbitUmarov | 2017-07-25 04:18:38 +0100 |
commit | 8739ceb00f34c618634983b25330a21f60eafe6d (patch) | |
tree | 721fe8cb820ca0348fc2d6228c229615786fe143 | |
parent | add a few more... (diff) | |
download | opensim-SC-8739ceb00f34c618634983b25330a21f60eafe6d.zip opensim-SC-8739ceb00f34c618634983b25330a21f60eafe6d.tar.gz opensim-SC-8739ceb00f34c618634983b25330a21f60eafe6d.tar.bz2 opensim-SC-8739ceb00f34c618634983b25330a21f60eafe6d.tar.xz |
lets try using older EventManager.TriggerMoneyTransfer to pay parcel passes
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index a3146c1..4123c07 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |||
@@ -613,8 +613,12 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
613 | return; | 613 | return; |
614 | } | 614 | } |
615 | 615 | ||
616 | mm.MoveMoney(remote_client.AgentId, ldata.OwnerID, cost, String.Format("Parcel '{0}' pass sell",ldata.Name)); | 616 | // mm.MoveMoney(remote_client.AgentId, ldata.OwnerID, cost, String.Format("Parcel '{0}' pass sell",ldata.Name)); |
617 | // lets try older method | ||
618 | EventManager.MoneyTransferArgs args = new EventManager.MoneyTransferArgs(remote_client.AgentId, ldata.OwnerID, | ||
619 | cost,(int)MoneyTransactionType.LandPassSale , String.Format("Parcel '{0}' pass sell",ldata.Name)); | ||
617 | 620 | ||
621 | m_scene.EventManager.TriggerMoneyTransfer(this, args); | ||
618 | if (idx != -1) | 622 | if (idx != -1) |
619 | ldata.ParcelAccessList.RemoveAt(idx); | 623 | ldata.ParcelAccessList.RemoveAt(idx); |
620 | ldata.ParcelAccessList.Add(entry); | 624 | ldata.ParcelAccessList.Add(entry); |