Closed Pychnight closed 7 months ago
[05/25/19 17:29:56] [Server API] Warning: Plugin "Banking" has had an unhandled exception thrown by one of its ServerJoin handlers:
System.NullReferenceException: Object reference not set to an instance of an object
at Banking.PlayerBankAccountMap.EnsureBankAccountNamesExist (System.Collections.Generic.IEnumerable1[T] accountNames) [0x0003c] in <5e97b6549f3240589f7b8685b8f8f193>:0 at Banking.Bank.EnsureBankAccountsExist (System.String playerName) [0x0004f] in <5e97b6549f3240589f7b8685b8f8f193>:0 at Banking.BankingPlugin.OnServerJoin (TerrariaApi.Server.JoinEventArgs args) [0x00019] in <5e97b6549f3240589f7b8685b8f8f193>:0 at TerrariaApi.Server.HandlerCollection
1[ArgsType].Invoke (ArgsType args) [0x0004d] in
[05/25/19 18:17:56] [Server API] Warning: Plugin "Banking" has had an unhandled exception thrown by one of its GameUpdate handlers: System.NullReferenceException: Object reference not set to an instance of an object at Banking.Rewards.RewardDistributor.TryUpdateBankAccount (System.String playerName, System.String accountName, System.Decimal& value) [0x00038] in <5e97b6549f3240589f7b8685b8f8f193>:0 at Banking.Rewards.RewardDistributor.PostEvaluateReward (Banking.Rewards.Reward reward, System.Decimal& rewardValue, Banking.CurrencyDefinition currency, System.String playerName) [0x0001e] in <5e97b6549f3240589f7b8685b8f8f193>:0 at Banking.Rewards.RewardDistributor.evaluate (Banking.Rewards.Reward reward) [0x000c1] in <5e97b6549f3240589f7b8685b8f8f193>:0 at Banking.Rewards.RewardDistributor.OnGameUpdate () [0x00015] in <5e97b6549f3240589f7b8685b8f8f193>:0 at Banking.BankingPlugin.OnGameUpdate (System.EventArgs args) [0x00027] in <5e97b6549f3240589f7b8685b8f8f193>:0 at TerrariaApi.Server.HandlerCollection
1[ArgsType].Invoke (ArgsType args) [0x0004d] in