mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Bulk addition of constant visibilities
thanks PhpStorm inspections plugin for annoying the shit out of me until I did this.
This commit is contained in:
@ -31,12 +31,12 @@ use pocketmine\Player;
|
||||
use pocketmine\utils\Random;
|
||||
|
||||
class Sapling extends Flowable{
|
||||
const OAK = 0;
|
||||
const SPRUCE = 1;
|
||||
const BIRCH = 2;
|
||||
const JUNGLE = 3;
|
||||
const ACACIA = 4;
|
||||
const DARK_OAK = 5;
|
||||
public const OAK = 0;
|
||||
public const SPRUCE = 1;
|
||||
public const BIRCH = 2;
|
||||
public const JUNGLE = 3;
|
||||
public const ACACIA = 4;
|
||||
public const DARK_OAK = 5;
|
||||
|
||||
protected $id = self::SAPLING;
|
||||
|
||||
|
Reference in New Issue
Block a user