Apply a prefix to block type tags

This commit is contained in:
Dylan K. Taylor 2022-12-19 15:11:06 +00:00
parent 9809909072
commit 0efd928db6
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -24,9 +24,10 @@ declare(strict_types=1);
namespace pocketmine\block;
final class BlockTypeTags{
private const PREFIX = "pocketmine:";
public const DIRT = "dirt";
public const MUD = "mud";
public const SAND = "sand";
public const POTTABLE_PLANTS = "pottable";
public const DIRT = self::PREFIX . "dirt";
public const MUD = self::PREFIX . "mud";
public const SAND = self::PREFIX . "sand";
public const POTTABLE_PLANTS = self::PREFIX . "pottable";
}