BentoBoxWorld / Visit

A simple addon that allows to visit any BentoBox island.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Money was taken when no teleport was given (island is locked)

SirvydasS opened this issue · comments

Description

Describe the bug

If the island is lock and someone wants to teleport with /is visit from their balance money was taken and no teleporting.

Steps to reproduce the behavior

Lock island.
Teleport with another player to locked island.
Money gone and message that island is lock.

Expected behavior

That money from the balance will be taken only when you on the island.
And maybe don't show that island in GUI which islands is locked.

Environment

Output of /bbox version (Mandatory)
[12:46:06 INFO]: Running Netinkama (TUINITY) 1.16.4.
[12:46:07 INFO]: BentoBox version: 1.15.2
[12:46:07 INFO]: Database: JSON
[12:46:07 INFO]: Loaded Game Worlds:
[12:46:07 INFO]: bskyblock_world (BSkyBlock): Overworld, [nether_color]Nether, [end_color]End
[12:46:07 INFO]: Loaded Addons:
[12:46:07 INFO]: Bank 1.1.0 (ENABLED)
[12:46:07 INFO]: Biomes 1.13.0-SNAPSHOT-b196 (ENABLED)
[12:46:07 INFO]: Border 2.0.1-SNAPSHOT-b67 (ENABLED)
[12:46:07 INFO]: BSkyBlock 1.14.2-SNAPSHOT-b676 (ENABLED)
[12:46:07 INFO]: Challenges 0.8.4-SNAPSHOT-b433 (ENABLED)
[12:46:07 INFO]: CheckMeOut 1.0.2 (ENABLED)
[12:46:07 INFO]: DimensionalTrees 1.6.1-SNAPSHOT-b82 (ENABLED)
[12:46:07 INFO]: ExtraMobs 1.11.0.4-SNAPSHOT-b7 (ENABLED)
[12:46:07 INFO]: Greenhouses 1.4.0 (ENABLED)
[12:46:07 INFO]: Level 2.5.0-SNAPSHOT-b421 (ENABLED)
[12:46:07 INFO]: Likes 2.1.0-SNAPSHOT-b32 (ENABLED)
[12:46:07 INFO]: Limits 1.15.0-SNAPSHOT-b241 (ENABLED)
[12:46:07 INFO]: MagicCobblestoneGenerator 2.2.0-SNAPSHOT-b180 (ENABLED)
[12:46:07 INFO]: TwerkingForTrees 1.4.1-SNAPSHOT-b47 (ENABLED)
[12:46:07 INFO]: Visit 1.0.0-SNAPSHOT (ENABLED)