Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Money duplication when refunding /t or /n spawn #5975

Closed
nicnec7 opened this issue Jun 17, 2022 · 0 comments
Closed

Money duplication when refunding /t or /n spawn #5975

nicnec7 opened this issue Jun 17, 2022 · 0 comments
Assignees
Milestone

Comments

@nicnec7
Copy link

nicnec7 commented Jun 17, 2022

What steps will reproduce the problem?

  1. Use /t spawn or /n spawn with a spawncost set
  2. Money is taken from player and deposited into town/nation bank
  3. Do something to interrupt the teleport
  4. Money is refunded to player's balance but is not removed from the town/nation bank!

What is the expected output?

If the player is refunded than the town/nation should lose the money. As it is now it is possible to duplicate money by using /t spawn to your own town and interrupting it repeatedly.

Towny version

Towny 0.98.2.4 with TownyChat 0.96
Also running Vault 1.7.3-b131 and EssentialsX 2.19.5-dev+19-96c6c95

Server version

Paper 1.18.2

Please use Pastebin.com to link the following files

  1. Your full server startup from the logs\latest.log:
    https://pastebin.com/fhPm6Pv0
  2. Your Towny config.yml:
    https://pastebin.com/36FhfxaL
  3. Your townyperms.yml:
    https://pastebin.com/Dx5v9xyF
  4. Your log's error:
    No error in log
@nicnec7 nicnec7 added the bug label Jun 17, 2022
@LlmDl LlmDl closed this as completed in bbb0d9c Jun 17, 2022
@LlmDl LlmDl added this to the 0.98.3.0 milestone Jun 17, 2022
@LlmDl LlmDl self-assigned this Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants