mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Harden JsonMapper defaults in general
This commit is contained in:
@ -108,6 +108,7 @@ class ZippedResourcePack implements ResourcePack{
|
||||
|
||||
$mapper = new \JsonMapper();
|
||||
$mapper->bExceptionOnMissingData = true;
|
||||
$mapper->bStrictObjectTypeChecking = true;
|
||||
|
||||
try{
|
||||
/** @var Manifest $manifest */
|
||||
|
Reference in New Issue
Block a user