UnrealMultiple / TShockPlugin

TShock插件收集仓库
GNU General Public License v3.0
45 stars 11 forks source link

[BUG] Economics.API #558

Closed bccfdea closed 5 days ago

bccfdea commented 1 week ago

已阅须知 | Read the guidelines

BUG可复现 | Bug is reproducible

插件最新 | Plugin is up-to-date

插件名字 | Plugin Name

Economic.API

系统 | System

Windows

发生了什么? | What happened?

使用TSManager加入Economic.API插件时,无法启动显示报错。

如何复现 | How to reproduce

使用TSManager加入Economic.API插件时,无法启动显示报错。

期望的结果? | Expected result?

正常启动

文本日志 | Text log

控制台日志 | Console log

[11/09/24 23:22:03] [Server API] Error: Startup aborted due to an exception in the Server API initialization:
System.InvalidOperationException: Plugin "EconomicsAPI" has thrown an exception during initialization.
 ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.MoveNext()
   at EconomicsAPI.Utils.Helper.InitPluginAttributes()
   at EconomicsAPI.Economics.Initialize()
   at TerrariaApi.Server.PluginContainer.Initialize()
   at TerrariaApi.Server.ServerApi.Program.<>c__DisplayClass5_0.<Main>g__LoadPlugins|5()
   --- End of inner exception stack trace ---
   at TerrariaApi.Server.ServerApi.Program.<>c__DisplayClass5_0.<Main>g__LoadPlugins|5()
   at TerrariaApi.Server.ServerApi.Program.<>c__DisplayClass5_0.<Main>g__Initialize|4(String[] commandLineArgs, Main game)
   at TerrariaApi.Server.ServerApi.Program.<>c__DisplayClass5_0.<Main>b__3(orig_Initialize orig, Main instance)
ACaiCat commented 1 week ago

确认一下插件版本号

bccfdea commented 1 week ago

V2.0.0.0

Controllerdestiny commented 5 days ago

https://github.com/UnrealMultiple/TShockPlugin/actions/runs/11872120729

在这下载测试一下,我没有tsm。

bccfdea commented 5 days ago

OK了,谢谢