13
0
geforkt von Mirrors/Paper

Allow data on tool items. Fixes BUKKIT-3773

Dieser Commit ist enthalten in:
Travis Watkins 2013-03-16 14:51:22 -05:00
Ursprung 2e47a1eb80
Commit ff1c1daf69

Datei anzeigen

@ -150,7 +150,7 @@ public final class ItemStack {
public void setData(int i) {
// CraftBukkit start - filter out data for items that shouldn't have it
if (!this.usesData()) {
if (!(this.usesData() || Item.byId[this.id].o())) { // Should be canBeDepleted
i = 0;
}