mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-17 11:18:52 +00:00
Removed pointless array cast
This commit is contained in:
parent
77ba8b81f8
commit
03cf635adc
@ -176,7 +176,7 @@ final class BlockStateUpgradeSchemaUtils{
|
||||
foreach(Utils::stringifyKeys($schema->remappedPropertyValues) as $blockName => $properties){
|
||||
foreach(Utils::stringifyKeys($properties) as $property => $propertyValues){
|
||||
foreach($propertyValues as $oldNew){
|
||||
$result->remappedPropertyValues[$blockName][$property][] = (array) new BlockStateUpgradeSchemaModelValueRemap(
|
||||
$result->remappedPropertyValues[$blockName][$property][] = new BlockStateUpgradeSchemaModelValueRemap(
|
||||
self::tagToJsonModel($oldNew->old),
|
||||
self::tagToJsonModel($oldNew->new)
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user