네임스페이스 버그 해결
This commit is contained in:
1 parent
d480502d33
commit
55290eac30
1 file changed
+1
-1
@@ -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 = [];
|
||||
|
||||
Reference in new issue
Block a user