13
0
geforkt von Mirrors/Paper

... Fixed dispensers again!

Dieser Commit ist enthalten in:
Nathan Adams 2011-12-12 21:49:35 +00:00
Ursprung 5412d6f5a8
Commit e1586e017a

Datei anzeigen

@ -43,7 +43,7 @@ public final class ItemStack {
public ItemStack(int id, int count, int data, NBTTagList enchantments) { public ItemStack(int id, int count, int data, NBTTagList enchantments) {
this(id, count, data); this(id, count, data);
// taken from .addEnchantment // taken from .addEnchantment
if (Item.byId[this.id].getMaxStackSize() == 1) { if (enchantments != null && Item.byId[this.id].getMaxStackSize() == 1) {
if (this.tag == null) { if (this.tag == null) {
this.setTag(new NBTTagCompound()); this.setTag(new NBTTagCompound());
} }