TownyAdvanced / TownyFlight

Flight plugin for Towny servers.
https://townyadvanced.github.io/
Other
23 stars 17 forks source link

TownyFlight auto activates when changing worlds #37

Closed o7-hmoe closed 4 years ago

o7-hmoe commented 4 years ago

What is the issue that you see?

If you are in your town with towny flight toggled on and then switch worlds, flight activates again in the world you have just connected to, despite there not being a town there. Was not an issue in 1.5.8

What steps can be done to repeat the issue on a test server?

  1. Using Multiverse and Towny, create a town and toggle towny flight
  2. Teleport to another world
  3. You will now have flight enabled

What is supposed to happen instead?

  1. Towny flight should not be enabled, because the player has no town in the other world.

Versions/Files

Towny Version (use '/towny v' in game) : 0.96.1.11 TownyFlight Version : 1.6.0 Link to pastebin.com with full server startup from the latest.log : https://pastebin.com/cfL42ysY Link to pastebin.com with TownyFlight config.yml : https://pastebin.com/EKkbMAyd