Register mangrove boat item

This commit is contained in:
Dylan K. Taylor
2023-05-04 16:39:23 +01:00
parent 896dd2ec9d
commit 299ff5d912
4 changed files with 7 additions and 1 deletions

View File

@ -203,6 +203,7 @@ use pocketmine\world\World;
* @method static Armor LEATHER_PANTS()
* @method static Armor LEATHER_TUNIC()
* @method static Item MAGMA_CREAM()
* @method static Boat MANGROVE_BOAT()
* @method static ItemBlockWallOrFloor MANGROVE_SIGN()
* @method static Medicine MEDICINE()
* @method static Melon MELON()
@ -547,6 +548,7 @@ final class VanillaItems{
BoatType::JUNGLE() => Ids::JUNGLE_BOAT,
BoatType::ACACIA() => Ids::ACACIA_BOAT,
BoatType::DARK_OAK() => Ids::DARK_OAK_BOAT,
BoatType::MANGROVE() => Ids::MANGROVE_BOAT,
default => throw new AssumptionFailedError("Unhandled tree type " . $type->name())
}), $type->getDisplayName() . " Boat", $type));
}