mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-13 00:19:49 +12:00
Fix crash when trading too much
This commit is contained in:
parent
66162d2490
commit
a134ded412
1 changed files with 1 additions and 1 deletions
|
@ -2372,7 +2372,7 @@ namespace HISP.Server
|
||||||
{
|
{
|
||||||
amountMoney = int.Parse(answer);
|
amountMoney = int.Parse(answer);
|
||||||
}
|
}
|
||||||
catch (FormatException)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
Logger.ErrorPrint(sender.LoggedinUser.Username + " Tried to send a invalid dynamic input (Money TRADE, amount is NaN)");
|
Logger.ErrorPrint(sender.LoggedinUser.Username + " Tried to send a invalid dynamic input (Money TRADE, amount is NaN)");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue