Add missing materials to Step. Fixes BUKKIT-4074

When Minecraft 1.4.6 was released, Nether Brick texturing to steps
was added. Minecraft 1.5 added Quartz texturing to steps. When Bukkit
was updated to these version the textures for steps were not applied.

Currently it is not possible to set the texture of steps to quartz
or nether brick. This commit fixes that by adding the respective values
to the allowable materials list.
This commit is contained in:
Peter Olson 2013-08-06 18:00:38 -07:00 committed by Travis Ralston
parent 15971ef696
commit eedcead5c4

View File

@ -17,6 +17,8 @@ public class Step extends TexturedMaterial {
textures.add(Material.COBBLESTONE); textures.add(Material.COBBLESTONE);
textures.add(Material.BRICK); textures.add(Material.BRICK);
textures.add(Material.SMOOTH_BRICK); textures.add(Material.SMOOTH_BRICK);
textures.add(Material.NETHER_BRICK);
textures.add(Material.QUARTZ_BLOCK);
} }
public Step() { public Step() {