From 04c7b9ba2952246aa33182d60a743233abb1c8f3 Mon Sep 17 00:00:00 2001 From: beu Date: Sat, 17 Aug 2024 15:23:24 +0200 Subject: [PATCH] fix permission for map vote --- Beu/BeuCustomConfig.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Beu/BeuCustomConfig.php b/Beu/BeuCustomConfig.php index 7e00e52..e98c0e5 100644 --- a/Beu/BeuCustomConfig.php +++ b/Beu/BeuCustomConfig.php @@ -31,7 +31,7 @@ class BeuCustomConfig implements CallbackListener, Plugin { * Constants */ const PLUGIN_ID = 193; - const PLUGIN_VERSION = 1.1; + const PLUGIN_VERSION = 1.2; const PLUGIN_NAME = 'BeuCustomConfig'; const PLUGIN_AUTHOR = 'Beu'; @@ -96,7 +96,7 @@ class BeuCustomConfig implements CallbackListener, Plugin { private function changeManiacontrolSettings() { $settingstochange = [ 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::SETTING_ENABLE_UPDATECHECK => false