Posted January 16, 201510 yr Hi everyone, I have an item, which when in the armor slots, allows the player to fly. When the player removes the item he is not able to fly anymore so i disable the player.capabilities.allowFlying in the onLivingUpdateEvent(...) method. No problem with that. But when i do so the player can still fly as long as he doesn't touch the ground. So my question is how can i make the player to fall when he removes the item ? Just like the player falls when he goes from creative to survival while flying. Is there a method i can call or something like that ? Thanks for your help
January 16, 201510 yr Author Ok, i thought it will be more difficult than that ! Works perfectly ! Thank you very much
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.