3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 04:20:08 +01:00

Really don't filter out -1 data in ItemStack.

Dieser Commit ist enthalten in:
Travis Watkins 2013-03-20 11:11:29 -05:00
Ursprung b325ffc8f6
Commit 6aaa1e83df

Datei anzeigen

@ -40,10 +40,12 @@ public final class ItemStack {
this.f = null;
this.id = i;
this.count = j;
this.setData(k); // CraftBukkit
if (this.damage < 0) {
this.damage = 0;
}
// CraftBukkit start - pass to setData to do filtering
this.setData(k);
//if (this.damage < 0) {
// this.damage = 0;
//}
// CraftBukkit end
}
public static ItemStack createStack(NBTTagCompound nbttagcompound) {