Call updateCapabilities() after setMayFly

With CanaryMod, this appears to be required for capabilities to take effect.
This commit is contained in:
carlrobert 2015-02-14 22:22:03 +01:00
parent 78ae505504
commit 62bd90a563

View file

@ -859,6 +859,7 @@ var utils = require('utils');
var players = utils.players(); var players = utils.players();
utils.foreach( players, function( player ) { utils.foreach( players, function( player ) {
player.capabilities.setMayFly(true); player.capabilities.setMayFly(true);
player.updateCapabilities();
} ); } );
``` ```