branch sync
This commit is contained in:
parent
0b19ae183e
commit
162cf6f0a9
13 changed files with 226 additions and 40 deletions
|
|
@ -1013,8 +1013,6 @@ namespace Server.Multis
|
|||
return true;
|
||||
else if ( item is Clock )
|
||||
return true;
|
||||
else if ( item is BaseBook )
|
||||
return true;
|
||||
else if ( item is BaseInstrument )
|
||||
return true;
|
||||
else if ( item is Dyes || item is DyeTub )
|
||||
|
|
|
|||
|
|
@ -913,7 +913,12 @@ namespace Server.Multis
|
|||
}
|
||||
else if ( cost < 0 )
|
||||
{
|
||||
if ( Banker.Deposit( from, -cost ) )
|
||||
if ( this.Deleted ) {
|
||||
from.SendLocalizedMessage( 1060397, ( -cost ).ToString() ); // ~1_AMOUNT~ gold has been deposited into your bank box. (let them think it worked)
|
||||
using ( StreamWriter op = new StreamWriter( "customexploiters.log", true ) )
|
||||
op.WriteLine( "{0}\t{1}\t{2}\tLocation: {3}", from.Account, from.NetState != null ? from.NetState.ToString() : "null account", from.RawName, from.Location.ToString() );
|
||||
}
|
||||
else if ( Banker.Deposit( from, -cost ) )
|
||||
from.SendLocalizedMessage( 1060397, ( -cost ).ToString() ); // ~1_AMOUNT~ gold has been deposited into your bank box.
|
||||
else
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue