mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-23 16:56:31 +01:00
Specify MaterialData for Acacia and Dark Oak stairs. Fixes BUKKIT-5037
When Minecraft 1.7 was released, Acacia and Dark Oak Stairs were added. While Bukkit added them to Material.java, it did not add the MaterialData mapping of them to Stairs.class. Currently getAscendingDirection() and other stair-specific functions can not be used on these new stairs. This commit fixes that by adding the mapping needed. Pulled from PR #977 By: Peter Olson <peter.olson@gmail.com>
This commit is contained in:
parent
24bde41a6e
commit
8bd09f7fc0
1 changed files with 2 additions and 2 deletions
|
@ -227,8 +227,8 @@ public enum Material {
|
|||
STAINED_GLASS_PANE(160),
|
||||
LEAVES_2(161),
|
||||
LOG_2(162),
|
||||
ACACIA_STAIRS(163),
|
||||
DARK_OAK_STAIRS(164),
|
||||
ACACIA_STAIRS(163, Stairs.class),
|
||||
DARK_OAK_STAIRS(164, Stairs.class),
|
||||
HAY_BLOCK(170),
|
||||
CARPET(171),
|
||||
HARD_CLAY(172),
|
||||
|
|
Loading…
Add table
Reference in a new issue