UnrealMultiple / TShockPlugin

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

Please fix the problem if opening the chest #486

Closed Hexagonforce12 closed 1 month ago

Hexagonforce12 commented 1 month ago

已阅须知 | Read the guidelines

功能有益 | Feature is beneficial

插件名字 | Plugin Name

PerPlayerLoot

需要什么功能? | What feature do you need?

If have used this plugin and have progressed quite far, if open a world chest it is usually very delayed and takes a long time to open it, please fix it so that there is no delay when opening the world chest

THEXN commented 1 month ago

This plugin issue is quite significant, and it is likely to be removed from the repository (even fixing it would require considerable effort). You can use a similar plugin called CaiRewardChest, which also achieves the goal of providing each player with an initial set of resources from a chest.

sgkoishi commented 1 month ago

ez fix https://github.com/UnrealMultiple/TShockPlugin/blob/f5fdcab2d7e2124c1618991b023e0584a3fc7608/src/PerPlayerLoot/FakeChestDatabase.cs#L248 https://github.com/UnrealMultiple/TShockPlugin/blob/f5fdcab2d7e2124c1618991b023e0584a3fc7608/src/PerPlayerLoot/FakeChestDatabase.cs#L161 https://github.com/UnrealMultiple/TShockPlugin/blob/f5fdcab2d7e2124c1618991b023e0584a3fc7608/src/PerPlayerLoot/FakeChestDatabase.cs#L166

Hexagonforce12 commented 1 month ago

Compile it to dll file