Skip to content

Commit d23ab82

Browse files
PetteriM1SupremeMortal
authored andcommitted
Fix diamond block no drops with iron pickaxe (#276)
1 parent 1ca5f04 commit d23ab82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/cn/nukkit/block/BlockDiamond.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public String getName() {
3939

4040
@Override
4141
public Item[] getDrops(Item item) {
42-
if (item.isPickaxe() && item.getTier() > ItemTool.TIER_IRON) {
42+
if (item.isPickaxe() && item.getTier() >= ItemTool.TIER_IRON) {
4343
return new Item[]{
4444
toItem()
4545
};

0 commit comments

Comments
 (0)