TownyAdvanced / Towny

Towny Advanced Minecraft plugin for Bukkit/Spigot.
https://townyadvanced.github.io
Other
528 stars 355 forks source link

towny-server message bug #7636

Closed Alienn-Know closed 1 month ago

Alienn-Know commented 1 month ago

What steps will reproduce the problem?

when the closed_economy option is active in config, when trying to withdraw/deposit, from a city/nation I always get the error withdraw -> msg_err_no_money, deposit -> msg_insuf_funds, although the money is actually withdrawn/deposited

What is the expected output?

do not receive error messages

Towny version

0.100.4.5

Server version

1.20.6

Please use Pastebin.com to link the following files

ChatConfig.txt config.txt database.txt townyperms.txt Channels.txt

Alienn-Know commented 1 month ago

wait, maybe there is a bug on my side in the economic handler towny-server, if so I will close the topic and describe the reason, if you are interested

Alienn-Know commented 1 month ago

I found the cause of the problem, I apologize, the problem was that VaultEconomyAdapter always returned EconomyResponse.ResponseType.FAILURE (dep/with) for towny-server, I have already fixed it, I apologize again, I am closing the topic