Skip to content

Commit

Permalink
Fix diamond block no drops with iron pickaxe (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
PetteriM1 authored and SupremeMortal committed Jul 13, 2018
1 parent 1ca5f04 commit d23ab82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/cn/nukkit/block/BlockDiamond.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public String getName() {

@Override
public Item[] getDrops(Item item) {
if (item.isPickaxe() && item.getTier() > ItemTool.TIER_IRON) {
if (item.isPickaxe() && item.getTier() >= ItemTool.TIER_IRON) {
return new Item[]{
toItem()
};
Expand Down

0 comments on commit d23ab82

Please sign in to comment.