네임스페이스 버그 해결
This commit is contained in:
1 parent
e8b3132e18
commit
1f6e7e06da
1 file changed
+1
-1
@@ -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