BentoBoxWorld / IslandFly

Gives players the fly command
Eclipse Public License 2.0
3 stars 8 forks source link

Fly even on other islands #58

Closed adamek6 closed 3 years ago

adamek6 commented 3 years ago

Description

Describe the bug

/ob fly is active on different oneblocks even without the permission

Steps to reproduce the behavior

turn on /ob fly go on different island with /tpa or /ob warp

Expected behavior

fly should turn off itself

Screenshots and videos (Optional)

Environment

Output of /bbox version (Mandatory)
[01:38:24 INFO]: Běžím na Neplatné (YATOPIA) 1.16.5.
[01:38:24 INFO]: Verze BentoBox: 1.16.0-SNAPSHOT-b1989
[01:38:24 INFO]: Databáze: MARIADB
[01:38:24 INFO]: Načtené herní světy:
[01:38:24 INFO]: oneblock_world (OneBlock): Svět, Nether, End
[01:38:24 INFO]: Načtené doplňky:
[01:38:24 INFO]: AOneBlock 1.4.6 (ENABLED)
[01:38:24 INFO]: Border 3.0.0-SNAPSHOT-b86 (ENABLED)
[01:38:24 INFO]: IslandFly 1.8.1 (ENABLED)
[01:38:24 INFO]: Level 2.5.1 (ENABLED)
[01:38:24 INFO]: Likes 2.0.0 (ENABLED)
[01:38:24 INFO]: Limits 1.15.0 (ENABLED)
[01:38:24 INFO]: Warps 1.10.2 (ENABLED)

Plugins (Optional)

AdvancedLottery, AntiAFKPlus, AutoTool, BentoBox, BKCommonLib, BlockCommand*, BlockParticles, ChestShop, Citizens, ClearLag, CMI, CMIEInjector*, CMILib, CombatLogX, CommandNPC*, CommandsToDiscord*, CoreProtect, CraftingStore, CrazyAuctions, CrazyCrates, CrazyEnchantments, DeluxeMenus, DeluxeTags*, EasyBackup, EntityDetection, EpicChatPrefix*, EpicSpawners, FastAsyncWorldEdit (WorldEdit), HolographicDisplays, HolographicExtension, HolographicPlaceholders, HoloRemove*, Images, InventoryRollback, JetsMinions, JetsSellChests, KeepChunks, KixsAutoAnnouncerPremium, Lib1711*, LightCleaner, LiteBans, LuckPerms, MineStore*, Minetrends*, MNRPOneBlock, Multiverse-Core, NametagEdit*, NoJoinMessage, NoPlugins, Parkour, PlaceholderAPI, Plan, PluginManager*, PlugMan, ProtocolLib, RevoltCrates, SAML, ShopGUIPlus, SkinsRestorer, spark, StandExport*, SuperBoosters, SuperbVote, SuperMobCoins, SuperPouches, TAB, TitleManager, TradeSystem, Vault, ViaBackwards, ViaVersion, VoidSpawn, VoidWorld*, VoteParty, Votifier, Vouchers, WorldGuard, WorldGuardExtraFlags

Additional context (Optional)

tastybento commented 3 years ago

I tested and it seems to work for me. When the player exits the island, fly is disabled, unless they are Op or have some bypass permission. Can you double check perms? Here's the screenshot from my testing:

Screen Shot 2021-04-17 at 9 29 23 AM
adamek6 commented 3 years ago

Oh, i forgot to add one step in order to reproduce it... You have to spam space when youre teleporting.

adamek6 commented 3 years ago

Alright, Found the issue. In the config i set the fly timeout to zero thinking the fly would instantly disable itself.