Enchantment: use Translatable instead of hardcoded translation keys

This commit is contained in:
Dylan K. Taylor
2021-09-03 20:52:05 +01:00
parent fbbaef4401
commit aa5a9f6d12
7 changed files with 212 additions and 24 deletions

View File

@ -103,7 +103,7 @@ class ItemTest extends TestCase{
continue 2;
}
}
self::fail("Unknown extra enchantment found: " . $enchantment->getType()->getName() . " x" . $enchantment->getLevel());
self::fail("Unknown extra enchantment found");
}
self::assertEmpty($enchantments, "Expected all enchantments to be present");
}