[BUG REPORT] Disable fly in The End
Sikatsu opened this issue ยท 6 comments
Hey,
I disabled fly for players within The End, however theres a bug.
When they get hit by a Shulker, and they relog, they can just use fly even while it's disabled.
worlds:
world2_the_end:
permissions:
- -essentials.fly
Are you able to fix this issue?
I need some more information to even begin investigating:
- EssentialsX version (
/ess reload
) - Server version (
/ver
) - What gamemode is the player in when they are logging in.
- Version 201-b354
- Spigot 1.10.2 freshly compiled today. Are you reffering to the exact number aswell?
- Survival mode.
Hi, sorry I was a bit occupied last night. This is not a bug, but a matter of permission setting.
As per the Command Reference:
essentials.fly.safelogin
Players with this command will automatically switch to fly mode if they login whilst floating in the air.
No problem!
Thanks, so I should just deny this the same way as - -essentials.fly right?
Is is possible to remove the setAllowFlying() and only set the player to setFlying(true), so if he stops with flying he can't fly again
@Sikatsu Correct, -essentials.fly.safelogin
.
@Bammerbom Not without some more code, but please create a separate issue if you feel necessary.