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.

By: Peter Olson <peter.olson@gmail.com>
This commit is contained in:
Bukkit/Spigot 2013-08-06 18:00:38 -07:00
parent 121764ab61
commit fd0b9b4a0d

View file

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