mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 15:41:33 +00:00
Start migrating EnumTrait enums to PHP 8.1 native enums
This commit is contained in:
@@ -40,9 +40,9 @@ class FireCharge extends Item{
|
||||
|
||||
$this->pop();
|
||||
|
||||
return ItemUseResult::SUCCESS();
|
||||
return ItemUseResult::SUCCESS;
|
||||
}
|
||||
|
||||
return ItemUseResult::NONE();
|
||||
return ItemUseResult::NONE;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user