mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Start migrating EnumTrait enums to PHP 8.1 native enums
This commit is contained in:
@ -60,7 +60,7 @@ class Fire extends BaseFire{
|
||||
}
|
||||
|
||||
private function canBeSupportedBy(Block $block) : bool{
|
||||
return $block->getSupportType(Facing::UP)->equals(SupportType::FULL());
|
||||
return $block->getSupportType(Facing::UP) === SupportType::FULL;
|
||||
}
|
||||
|
||||
public function onNearbyBlockChange() : void{
|
||||
|
Reference in New Issue
Block a user