Implemented get/setPickupDelay on Item entities, thanks robin0van0der0v

Dieser Commit ist enthalten in:
Dinnerbone 2011-09-25 03:40:28 +01:00
Ursprung ceba082703
Commit 6c6eef8759

Datei anzeigen

@ -22,9 +22,16 @@ public class CraftItem extends CraftEntity implements Item {
item.itemStack = new net.minecraft.server.ItemStack(stack.getTypeId(), stack.getAmount(), stack.getDurability()); item.itemStack = new net.minecraft.server.ItemStack(stack.getTypeId(), stack.getAmount(), stack.getDurability());
} }
public int getPickupDelay() {
return item.pickupDelay;
}
public void setPickupDelay(int delay) {
item.pickupDelay = delay;
}
@Override @Override
public String toString() { public String toString() {
return "CraftItem"; return "CraftItem";
} }
} }