refac: KVStorage의 내부구조를 Ds\Map으로 변경
This commit is contained in:
1 parent
703bf9395d
commit
bf2268ee4a
7 files changed
+166
-145
No files matched your search
@@ -47,7 +47,7 @@ class SetBlockScout extends \sammo\BaseAPI
|
||||
return "권한이 부족합니다.";
|
||||
}
|
||||
|
||||
$gameStor = new KVStorage($db, 'game_env');
|
||||
$gameStor = KVStorage::getStorage($db, 'game_env');
|
||||
$blockChangeScout = $gameStor->getValue('block_change_scout')??false;
|
||||
if ($blockChangeScout){
|
||||
return "임관 설정을 바꿀 수 없도록 설정되어 있습니다.";
|
||||
|
||||
Reference in new issue
Block a user