From eedcead5c4c357405ee2ca6cebbd7155f3563043 Mon Sep 17 00:00:00 2001 From: Peter Olson Date: Tue, 6 Aug 2013 18:00:38 -0700 Subject: 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. --- src/main/java/org/bukkit/material/Step.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/org') diff --git a/src/main/java/org/bukkit/material/Step.java b/src/main/java/org/bukkit/material/Step.java index 57779303..1d41a071 100644 --- a/src/main/java/org/bukkit/material/Step.java +++ b/src/main/java/org/bukkit/material/Step.java @@ -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() { -- cgit v1.2.3