mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 11:26:37 +00:00
fixed #4006
This commit is contained in:
parent
ccadb5f2bb
commit
a43db5ca25
@ -329,7 +329,7 @@ class Config{
|
|||||||
$this->config[$k] = $v;
|
$this->config[$k] = $v;
|
||||||
foreach($this->nestedCache as $nestedKey => $nvalue){
|
foreach($this->nestedCache as $nestedKey => $nvalue){
|
||||||
if(substr($nestedKey, 0, strlen($k) + 1) === ($k . ".")){
|
if(substr($nestedKey, 0, strlen($k) + 1) === ($k . ".")){
|
||||||
unset($this->nestedCache($nestedKey));
|
unset($this->nestedCache[$nestedKey]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user