Skip to content

Commit

Permalink
Added Dry grass drops from the Dry Grass tile
Browse files Browse the repository at this point in the history
  • Loading branch information
mbl111 committed Nov 25, 2012
1 parent 5f630d3 commit b7dd199
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added GitHubGameJam2012/res/items.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Expand Up @@ -21,7 +21,7 @@ public void onClick() {
double dist = Math.sqrt((x - xt) * (x - xt) + (y - yt) * (y - yt));
if (dist < 2) {
level.setTile(x, y, underTile, false);
level.add(new EntityItem(new ItemStack(Item.dryGrass.id, 5), (x << 4) + 8, (y << 4) + 8));
level.add(new EntityItem(new ItemStack(Item.dryGrass.id), (x << 4) + 8, (y << 4) + 8));
}
}

Expand Down

0 comments on commit b7dd199

Please sign in to comment.