spartacus04 / InstantRestock

A spigot plugin that allows villagers to trade infinitely
https://spartacus04.github.io/InstantRestock/
MIT License
8 stars 1 forks source link

[Bug]: Reloading the plugin resets uninstallMode config to false #66

Closed EminGT closed 2 weeks ago

EminGT commented 3 months ago

Describe the bug

I wanted to use the uninstallMode on my server to get rid of the instant restocking villagers, but I noticed that the uninstall feature keeps turning off. After some examination, doing "/instantrestock config uninstallMode true" sets the uninstallMode to true correctly, but doing "/instantrestock reload" or restarting the server resets the uninstallMode config to false.

Steps to reproduce

1) do /instantrestock config uninstallMode true 2) do /instantrestock reload 3) see that uninstallMode is false now

Expected behaviour

I would expect the uninstallMode to remain true after server restarts or plugin reloads

Logs

No response

Server Version

1.21

Server Type

Paper

This issue is unique

TheXoXoX commented 2 months ago

I have the same problem. Tried any combination of commands / restarts, this plugin once activated cannot be disabled... which sucks because now every trader is locked at 64 emeralds with no way to turn it off. Help?

github-actions[bot] commented 3 weeks ago

Stale issue message