mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +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:
@ -33,9 +33,9 @@ use pocketmine\nbt\tag\FloatTag;
|
||||
use pocketmine\Player;
|
||||
|
||||
class ItemFrame extends Spawnable{
|
||||
const TAG_ITEM_ROTATION = "ItemRotation";
|
||||
const TAG_ITEM_DROP_CHANCE = "ItemDropChance";
|
||||
const TAG_ITEM = "Item";
|
||||
public const TAG_ITEM_ROTATION = "ItemRotation";
|
||||
public const TAG_ITEM_DROP_CHANCE = "ItemDropChance";
|
||||
public const TAG_ITEM = "Item";
|
||||
|
||||
public function __construct(Level $level, CompoundTag $nbt){
|
||||
if(!$nbt->hasTag(self::TAG_ITEM_ROTATION, ByteTag::class)){
|
||||
|
Reference in New Issue
Block a user