TavstalDev / TShop2

SQL based async item and vehicle shop plugin for Unturned 3
GNU General Public License v3.0
3 stars 0 forks source link

Asset casting is broken #8

Closed TavstalDev closed 2 months ago

TavstalDev commented 2 months ago

No, no, no, the problem is not only with vehicle purchases, it is currently unable to perform any purchase operations.

"/buyv 1"
InvalidCastException: Specified cast is not valid.
  at Tavstal.TShop.CommandBuyVehicle.Execute (Rocket.API.IRocketPlayer caller, System.String[] args) [0x000b5] in <6cca04b647834931ad0d3bfcaa3447b8>:0
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) [0x00000] in <47fc8c70fa834cbf8141d7c1a7589125>:0
  at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00002] in <fcaf289839f24125a059795f150fce14>:0
  at UnityEngine.UnitySynchronizationContext.Exec () [0x00056] in <fcaf289839f24125a059795f150fce14>:0
  at UnityEngine.UnitySynchronizationContext.ExecuteTasks () [0x00014] in <fcaf289839f24125a059795f150fce14>:0

Moved part of the issue from #7 By: @CatzMR