Merge branch 'master' of github.com:PocketMine/PocketMine-MP

This commit is contained in:
Shoghi Cervantes 2015-04-28 14:49:52 +02:00
commit 71587db2be

View File

@ -93,7 +93,7 @@ class Config{
* @return mixed
*/
public static function fixYAMLIndexes($str){
return preg_replace("#^([ ]*)([a-zA-Z_]{1}[^\:]*)\:#m", "$1\"$2\":", $str);
return preg_replace("#^([ ]*)([a-zA-Z_]{1}[ ]*)$\\:#m", "$1\"$2\":", $str);
}
/**