Fixed missing permission registration in in #355 (#396)

This commit is contained in:
SOFe 2017-03-05 18:03:59 +08:00 committed by Dylan K. Taylor
parent 0a8bd72e11
commit e33eb0ddb6

View File

@ -122,9 +122,10 @@ abstract class DefaultPermissions{
self::registerPermission(new Permission(self::ROOT . ".command.timings", "Allows the user to records timings for all plugin events", Permission::DEFAULT_OP), $commands);
self::registerPermission(new Permission(self::ROOT . ".command.spawnpoint", "Allows the user to change player's spawnpoint", Permission::DEFAULT_OP), $commands);
self::registerPermission(new Permission(self::ROOT . ".command.setworldspawn", "Allows the user to change the world spawn", Permission::DEFAULT_OP), $commands);
self::registerPermission(new Permission(self::ROOT . ".command.transferserver", "Allows the user to transfer self to another server", Permission::DEFAULT_OP), $commands);
$commands->recalculatePermissibles();
$parent->recalculatePermissibles();
}
}
}