From 1041bb0e6a20f288c777a9ea01fb06beb36ddd95 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sun, 7 Dec 2014 23:21:47 +0100 Subject: [PATCH] Do not quiet error messages when parsing config files --- src/pocketmine/utils/Config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pocketmine/utils/Config.php b/src/pocketmine/utils/Config.php index dbc292c33..b06f0711d 100644 --- a/src/pocketmine/utils/Config.php +++ b/src/pocketmine/utils/Config.php @@ -130,14 +130,14 @@ class Config{ $this->parseProperties($content); break; case Config::JSON: - $this->config = @json_decode($content, true); + $this->config = json_decode($content, true); break; case Config::YAML: $content = self::fixYAMLIndexes($content); $this->config = yaml_parse($content); break; case Config::SERIALIZED: - $this->config = @unserialize($content); + $this->config = unserialize($content); break; case Config::ENUM: $this->parseList($content);