Replace disallowed operators in tests/

This commit is contained in:
Dylan K. Taylor
2022-01-20 16:48:36 +00:00
parent 4d55935bd8
commit 6846f1e78a
4 changed files with 5 additions and 5 deletions

View File

@ -99,7 +99,7 @@ class ItemTest extends TestCase{
}
foreach($this->item->getEnchantments() as $enchantment){
foreach($enchantments as $k => $applied){
if($enchantment->getType() === $applied->getType() and $enchantment->getLevel() === $applied->getLevel()){
if($enchantment->getType() === $applied->getType() && $enchantment->getLevel() === $applied->getLevel()){
unset($enchantments[$k]);
continue 2;
}