diff options
author | Erik Broes <erikbroes@grum.nl> | 2011-02-04 22:45:52 +0100 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-02-04 22:45:52 +0100 |
commit | 84f05ff32b6f7b6fb3fe5206c35fc731dc92e135 (patch) | |
tree | 02388ced89cd304dc7f37958cf21cf2646505f0d /src | |
parent | 7f6f90a20e2d42eb4b01645d350bf3ea4a145432 (diff) | |
download | bukkit-84f05ff32b6f7b6fb3fe5206c35fc731dc92e135.tar bukkit-84f05ff32b6f7b6fb3fe5206c35fc731dc92e135.tar.gz bukkit-84f05ff32b6f7b6fb3fe5206c35fc731dc92e135.tar.lz bukkit-84f05ff32b6f7b6fb3fe5206c35fc731dc92e135.tar.xz bukkit-84f05ff32b6f7b6fb3fe5206c35fc731dc92e135.zip |
Material Durability and StackSize mixup - Fix for http://redmine.bukkit.org/issues/372
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/Material.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/Material.java b/src/main/java/org/bukkit/Material.java index a9b30916..5631ee8e 100644 --- a/src/main/java/org/bukkit/Material.java +++ b/src/main/java/org/bukkit/Material.java @@ -225,7 +225,7 @@ public enum Material { this(id, -1, stack, data); } - private Material(final int id, final int durability, final int stack, final Class<? extends MaterialData> data) { + private Material(final int id, final int stack, final int durability, final Class<? extends MaterialData> data) { this.id = id; this.durability = (short)durability; this.maxStack = stack; |