-
-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fly is getting disabled on Portal usage ( Nether/End ) #786
Comments
I have the same problems with the latest version. |
@Poslovitch Any chance you could look at this? |
@tastybento I'll do. |
I confirmed the bug is occuring. I even got killed by that freaky Enderman! 🙁 |
I think this is due to the brief gamemode switch. Upon teleporting, the player is set to the SPECTATOR gamemode so that he doesn't get killed if the world loads too slowly, and it then gets reset to the gamemode he was. This change causes Essentials to disable the fly mode. |
Anything BentoBox can do to re-enable it if it was on? |
Okay, I think I've got my "culprit". BentoBox/src/main/java/world/bentobox/bentobox/api/commands/admin/AdminTeleportCommand.java Lines 58 to 64 in dffabd4
The fix would be to tell the SST Builder the same thing in the PortalTeleportationListener... But if we'd do that there, we should just get rid of the SPECTATOR gamemode in our teleportation process once and for all: admins are not the only one who could be in fly mode. Lots of P2W Skyblock servers sell the fly as a perk. |
The other way around could be to run |
@Poslovitch I'm fine with removing spectator mode. The original aim was to place the player into a "safe" state while their island was being deleted and not fall to their death. Subsequently, we now only delete their island after the island is pasted and so they are now pretty safe. |
Okay, removing the SPECTATOR thing fixes everything. |
Description
Describe the bug
Fly is getting disabled when going through a portal. ( end/nether )
This does not happen when using the the tp command
Steps to reproduce the behavior
Turn on fly ( EssentialsX ) and go through a portal.
Expected behavior
Fly should stay enabled like with askyblock
Environment
Server
BentoBox setup
BentoBox and Addons
Configuration
Additional context
The text was updated successfully, but these errors were encountered: