lets try using older EventManager.TriggerMoneyTransfer to pay parcel passes

0.9.0-post-fixes
UbitUmarov 2017-07-25 04:18:38 +01:00
parent 35b1166ba8
commit 8739ceb00f
1 changed files with 5 additions and 1 deletions

View File

@ -613,8 +613,12 @@ namespace OpenSim.Region.CoreModules.World.Land
return;
}
mm.MoveMoney(remote_client.AgentId, ldata.OwnerID, cost, String.Format("Parcel '{0}' pass sell",ldata.Name));
// mm.MoveMoney(remote_client.AgentId, ldata.OwnerID, cost, String.Format("Parcel '{0}' pass sell",ldata.Name));
// lets try older method
EventManager.MoneyTransferArgs args = new EventManager.MoneyTransferArgs(remote_client.AgentId, ldata.OwnerID,
cost,(int)MoneyTransactionType.LandPassSale , String.Format("Parcel '{0}' pass sell",ldata.Name));
m_scene.EventManager.TriggerMoneyTransfer(this, args);
if (idx != -1)
ldata.ParcelAccessList.RemoveAt(idx);
ldata.ParcelAccessList.Add(entry);