네임스페이스 버그 해결

This commit is contained in:
2018-08-29 15:04:44 +09:00
parent d480502d33
commit 55290eac30
+1 -1
View File
@@ -93,7 +93,7 @@ class NPC{
if(!key_exists('stored_icons', $env)){
try{
$text = \file_get_contents(\sammo\ServConfig::getSharedIconPath('../hook/list.json?1'));
$storedIcons = Json::decode($text);
$storedIcons = \sammo\Json::decode($text);
}
catch(\Exception $e){
$storedIcons = [];