Merge branch 'next-minor' into next-major

This commit is contained in:
Dylan K. Taylor
2022-08-21 19:19:07 +01:00
30 changed files with 350 additions and 125 deletions

View File

@@ -46,7 +46,7 @@ final class StringToItemParser extends StringToTParser{
use SingletonTrait;
private static function make() : self{
$result = new self;
$result = new self();
self::registerDynamicBlocks($result);
self::registerBlocks($result);

View File

@@ -35,7 +35,7 @@ final class StringToEnchantmentParser extends StringToTParser{
use SingletonTrait;
private static function make() : self{
$result = new self;
$result = new self();
$result->register("blast_protection", fn() => VanillaEnchantments::BLAST_PROTECTION());
$result->register("efficiency", fn() => VanillaEnchantments::EFFICIENCY());