mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 08:56:15 +00:00
convert ParticleIds to final class with private constructor
I got tired of auto complete suggesting this shit every time I typed `implements Particle`
This commit is contained in:
@ -23,7 +23,12 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace pocketmine\network\mcpe\protocol\types;
|
namespace pocketmine\network\mcpe\protocol\types;
|
||||||
|
|
||||||
interface ParticleIds{
|
final class ParticleIds{
|
||||||
|
|
||||||
|
private function __construct(){
|
||||||
|
//NOOP
|
||||||
|
}
|
||||||
|
|
||||||
public const BUBBLE = 1;
|
public const BUBBLE = 1;
|
||||||
//2 same as 1
|
//2 same as 1
|
||||||
public const CRITICAL = 3;
|
public const CRITICAL = 3;
|
||||||
|
Reference in New Issue
Block a user