fix permission for map vote

This commit is contained in:
Beu 2024-08-17 15:23:24 +02:00
parent 53e67eb0e1
commit 04c7b9ba29

View File

@ -31,7 +31,7 @@ class BeuCustomConfig implements CallbackListener, Plugin {
* Constants * Constants
*/ */
const PLUGIN_ID = 193; const PLUGIN_ID = 193;
const PLUGIN_VERSION = 1.1; const PLUGIN_VERSION = 1.2;
const PLUGIN_NAME = 'BeuCustomConfig'; const PLUGIN_NAME = 'BeuCustomConfig';
const PLUGIN_AUTHOR = 'Beu'; const PLUGIN_AUTHOR = 'Beu';
@ -96,7 +96,7 @@ class BeuCustomConfig implements CallbackListener, Plugin {
private function changeManiacontrolSettings() { private function changeManiacontrolSettings() {
$settingstochange = [ $settingstochange = [
AuthenticationManager::class => [ AuthenticationManager::class => [
MapQueue::SETTING_PERMISSION_ADD_TO_QUEUE => AuthenticationManager::AUTH_LEVEL_ADMIN MapQueue::SETTING_PERMISSION_ADD_TO_QUEUE => AuthenticationManager::AUTH_NAME_ADMIN
], ],
UpdateManager::class => [ UpdateManager::class => [
UpdateManager::SETTING_ENABLE_UPDATECHECK => false UpdateManager::SETTING_ENABLE_UPDATECHECK => false