From 0efd928db695e5bc7ddf858a0025bc6c39523934 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Mon, 19 Dec 2022 15:11:06 +0000 Subject: [PATCH] Apply a prefix to block type tags --- src/block/BlockTypeTags.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/block/BlockTypeTags.php b/src/block/BlockTypeTags.php index 8bcd4c589..8537a2814 100644 --- a/src/block/BlockTypeTags.php +++ b/src/block/BlockTypeTags.php @@ -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"; }