mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 00:25:04 +00:00
Replace disallowed operators in tests/
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user