summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorPeter Olson <peter.olson@gmail.com>2013-08-06 18:00:38 -0700
committerTravis Ralston <travpc@gmail.com>2013-08-17 18:34:50 -0600
commiteedcead5c4c357405ee2ca6cebbd7155f3563043 (patch)
treecfb8ecac91467ca0fd146fde186b996db8c98d59 /src/main
parent15971ef69642634a785d7bb0b46f970b34839d15 (diff)
downloadbukkit-eedcead5c4c357405ee2ca6cebbd7155f3563043.tar
bukkit-eedcead5c4c357405ee2ca6cebbd7155f3563043.tar.gz
bukkit-eedcead5c4c357405ee2ca6cebbd7155f3563043.tar.lz
bukkit-eedcead5c4c357405ee2ca6cebbd7155f3563043.tar.xz
bukkit-eedcead5c4c357405ee2ca6cebbd7155f3563043.zip
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.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/bukkit/material/Step.java2
1 files changed, 2 insertions, 0 deletions
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() {