Fix BC break in BaseBanner

This commit is contained in:
Dylan K. Taylor 2025-08-25 02:17:45 +01:00
parent c548923116
commit ec56d65bcc
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -61,7 +61,12 @@ abstract class BaseBanner extends Transparent implements Colored{
return $this;
}
abstract protected function getOminousVersion() : Block;
/**
* TODO: make this abstract in PM6 (BC break)
*/
protected function getOminousVersion() : Block{
return VanillaBlocks::AIR();
}
public function writeStateToWorld() : void{
parent::writeStateToWorld();