mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Improve BlockFactory initialization performance
as expected, expanding data range unconditionally resulted in some performance issues ...
This commit is contained in:
@ -55,6 +55,9 @@ abstract class BaseBanner extends Transparent{
|
||||
parent::__construct($idInfo, $name, $breakInfo);
|
||||
}
|
||||
|
||||
|
||||
public function getRequiredStateDataBits() : int{ return 0; }
|
||||
|
||||
protected function decodeState(BlockDataReader $r) : void{
|
||||
//TODO: we currently purposely don't read or write colour (it's stored on the tile)
|
||||
}
|
||||
|
Reference in New Issue
Block a user