TARDIS

TARDIS

228k Downloads

Removing all companions disables open door policy for TARDIS

Technoguyfication opened this issue ยท 1 comments

commented

Describe the bug
When doing /tt remove all, the interior region's entry flag is set to deny. This effectively disables any non-companions from entering the TARDIS, even when open_door_policy is set to true in the config.

To Reproduce
Steps to reproduce the behaviour:

  1. Set open_door_policy to true in config and have WG installed on the server
  2. Grow a TARDIS
  3. Have a non-companion walk inside. They should be able to.
  4. Add a companion to your TARDIS
  5. Remove all companions from your TARDIS
  6. Non-companions can no longer walk inside the TARDIS due to the WorldGuard region setting entry to deny for all non-members.

/tardis version output

[10:25:51] [Server thread/INFO]: [TARDIS] Server version: 3151-Spigot-101ebb6-68d4031 (MC: 1.17)
[10:25:51] [Server thread/INFO]: [TARDIS] TARDIS version: 4.7.2-b25.06.21-08:40
[10:25:51] [Server thread/INFO]: [TARDIS] TARDISChunkGenerator version: 4.7.2
[10:25:51] [Server thread/INFO]: [TARDIS] WorldGuard version: 7.0.4+f7ff984
commented

Looks like the behavior is still happening when adding or removing companions, it was my mistake in thinking it happens only when removing all companions.

Just submitted a PR to fix those cases as well.