August 12, 20223 yr Author I want to modify capabilities. I've seen somewhere that you can go player.capabilities.allowFlight or something like that
August 12, 20223 yr I think you're talking about Player#getAbilities and not about Forge's Capability system. Note this is a server side operation and you should call Player#onUpdateAbilities to sync the Abilities to the client. Edited August 12, 20223 yr by Luis_ST Made more understandable
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.