Fixed max stack sizes for some items, as per new vanilla spec.

By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
Bukkit/Spigot 2011-09-17 16:55:22 -04:00
parent ac46850069
commit 9dcc5147c6

View File

@ -127,7 +127,7 @@ public enum Material {
IRON_PICKAXE(257, 1, 250), IRON_PICKAXE(257, 1, 250),
IRON_AXE(258, 1, 250), IRON_AXE(258, 1, 250),
FLINT_AND_STEEL(259, 1, 64), FLINT_AND_STEEL(259, 1, 64),
APPLE(260, 1), APPLE(260),
BOW(261, 1), BOW(261, 1),
ARROW(262), ARROW(262),
COAL(263, Coal.class), COAL(263, Coal.class),
@ -164,7 +164,7 @@ public enum Material {
GOLD_HOE(294, 1, 32), GOLD_HOE(294, 1, 32),
SEEDS(295), SEEDS(295),
WHEAT(296), WHEAT(296),
BREAD(297, 1), BREAD(297),
LEATHER_HELMET(298, 1, 33), LEATHER_HELMET(298, 1, 33),
LEATHER_CHESTPLATE(299, 1, 47), LEATHER_CHESTPLATE(299, 1, 47),
LEATHER_LEGGINGS(300, 1, 45), LEATHER_LEGGINGS(300, 1, 45),
@ -186,10 +186,10 @@ public enum Material {
GOLD_LEGGINGS(316, 1, 91), GOLD_LEGGINGS(316, 1, 91),
GOLD_BOOTS(317, 1, 79), GOLD_BOOTS(317, 1, 79),
FLINT(318), FLINT(318),
PORK(319, 1), PORK(319),
GRILLED_PORK(320, 1), GRILLED_PORK(320),
PAINTING(321), PAINTING(321),
GOLDEN_APPLE(322, 1), GOLDEN_APPLE(322),
SIGN(323, 1), SIGN(323, 1),
WOOD_DOOR(324, 1), WOOD_DOOR(324, 1),
BUCKET(325, 1), BUCKET(325, 1),
@ -216,15 +216,15 @@ public enum Material {
FISHING_ROD(346, 1, 64), FISHING_ROD(346, 1, 64),
WATCH(347), WATCH(347),
GLOWSTONE_DUST(348), GLOWSTONE_DUST(348),
RAW_FISH(349, 1), RAW_FISH(349),
COOKED_FISH(350, 1), COOKED_FISH(350),
INK_SACK(351, Dye.class), INK_SACK(351, Dye.class),
BONE(352), BONE(352),
SUGAR(353), SUGAR(353),
CAKE(354, 1), CAKE(354, 1),
BED(355, 1), BED(355, 1),
DIODE(356), DIODE(356),
COOKIE(357, 8), COOKIE(357),
MAP(358, 1, MaterialData.class), MAP(358, 1, MaterialData.class),
SHEARS(359, 1, 238), SHEARS(359, 1, 238),
MELON(360), MELON(360),