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

Interactions are not prevented at all when under attack #266

Open
Parthodys opened this issue May 26, 2023 · 2 comments
Open

Interactions are not prevented at all when under attack #266

Parthodys opened this issue May 26, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Parthodys
Copy link

Interactions are no longer prevented under the prevent_interaction_while_flagged: config setting.
It seems to have broken at some point, as towns/nations are now able to withdraw money even during a flagwar attack.
I assume other commands that are meant to be prevented are not prevented either then.

What steps will reproduce the problem?

  1. Start a flagwar
  2. Defender executes /t withdraw 100
  3. Money is successfully withdrawn from town

What is the expected output?

  1. Start a flagwar
  2. Defender executes /t withdraw 100
  3. Prevent the action under an active flagwar; You cannot do that! You were recently attacked and are under high alert!

What is your Towny version number?

0.99.0.4

What is your FlagWar version number?

0.5.3

What is your Spigot/Paper/Fork server version?

Paper-81 (MC: 1.19)

Please use a pastebin service to link the following files:

https://pastebin.com/YRmkfha4

@Parthodys Parthodys added the bug Something isn't working label May 26, 2023
@Parthodys
Copy link
Author

@TheFlagCourier Any chance to look at this one?

@TheFlagCourier
Copy link
Member

Thanks for the report, I'll look into it as I am able.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants