Call updateCapabilities() after setMayFly
Call updateCapabilities() after setMayFly

With CanaryMod, this appears to be required for capabilities to take effect.
kzap/ScriptCraft,itrion/ScriptCraft,walterhiggins/ScriptCraft,walterhiggins/ScriptCraft,kzap/ScriptCraft,EllieAdam/ScriptCraft,kamem/ScriptCraft,vorburger/ScriptCraft,TonyGravagno/ScriptCraft,dighjd12/ScriptCraft,TonyGravagno/ScriptCraft,mverwijs/ScriptCraft,itrion/ScriptCraft,dighjd12/ScriptCraft,bgon/BlocklyCraft,ut7/ScriptCraft,bgon/BlocklyCraft,vorburger/ScriptCraft,bgon/BlocklyCraft,EllieAdam/ScriptCraft,mverwijs/ScriptCraft,achang6/ScriptCraft,achang6/ScriptCraft,kamem/ScriptCraft,ut7/ScriptCraft