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:
Dylan K. Taylor
2017-11-21 14:44:10 +00:00
parent 3f854127ca
commit 74b074753f
210 changed files with 1939 additions and 1939 deletions

View File

@ -33,7 +33,7 @@ use pocketmine\network\mcpe\protocol\TakeItemEntityPacket;
use pocketmine\Player;
class Arrow extends Projectile{
const NETWORK_ID = self::ARROW;
public const NETWORK_ID = self::ARROW;
public $width = 0.25;
public $height = 0.25;

View File

@ -24,7 +24,7 @@ declare(strict_types=1);
namespace pocketmine\entity\projectile;
class Egg extends Throwable{
const NETWORK_ID = self::EGG;
public const NETWORK_ID = self::EGG;
//TODO: spawn chickens on collision
}

View File

@ -37,7 +37,7 @@ use pocketmine\nbt\tag\CompoundTag;
abstract class Projectile extends Entity{
const DATA_SHOOTER_ID = 17;
public const DATA_SHOOTER_ID = 17;
protected $damage = 0;

View File

@ -24,6 +24,6 @@ declare(strict_types=1);
namespace pocketmine\entity\projectile;
class Snowball extends Throwable{
const NETWORK_ID = self::SNOWBALL;
public const NETWORK_ID = self::SNOWBALL;
}