네임스페이스 버그 해결
This commit is contained in:
@@ -93,7 +93,7 @@ class NPC{
|
|||||||
if(!key_exists('stored_icons', $env)){
|
if(!key_exists('stored_icons', $env)){
|
||||||
try{
|
try{
|
||||||
$text = \file_get_contents(\sammo\ServConfig::getSharedIconPath('../hook/list.json?1'));
|
$text = \file_get_contents(\sammo\ServConfig::getSharedIconPath('../hook/list.json?1'));
|
||||||
$storedIcons = Json::decode($text);
|
$storedIcons = \sammo\Json::decode($text);
|
||||||
}
|
}
|
||||||
catch(\Exception $e){
|
catch(\Exception $e){
|
||||||
$storedIcons = [];
|
$storedIcons = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user