Describe the bug
The f setHome command will attempt to set faction home, and correctly deduct the specified amount from faction bank. If, however, the user is in the wilderness outside the faction, the faction home will automatically be un-set and the faction also loses their money.
To Reproduce
Steps to reproduce the behavior:
create a faction
deposit some money
attempt to setHome in the wilderness
sethome deducts the money
the home will be unset automatically
Expected behavior
Preferably the check to validate the home position occurs before withdrawing money and then cancels the request such that the faction don't lose their money
Screenshots
Server Version (please complete the following information):
Spigot Version: This server is running Paper version git-Paper-196 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: 773dd72)
You are running the latest version
Describe the bug The f setHome command will attempt to set faction home, and correctly deduct the specified amount from faction bank. If, however, the user is in the wilderness outside the faction, the faction home will automatically be un-set and the faction also loses their money.
To Reproduce Steps to reproduce the behavior:
Expected behavior Preferably the check to validate the home position occurs before withdrawing money and then cancels the request such that the faction don't lose their money
Screenshots![image](https://github.com/SaberLLC/Saber-Factions/assets/6570193/d7e3153e-c002-4752-adcb-dc7675d450bc)
Server Version (please complete the following information):