From 9c349cf2add5c23a82845dc234868093e6a5f438 Mon Sep 17 00:00:00 2001 From: Woder <17339354+wode490390@users.noreply.github.com> Date: Sun, 20 Aug 2023 22:11:12 +0800 Subject: [PATCH] Drop raw ore instead of ore block --- src/main/java/cn/nukkit/block/BlockOreGold.java | 2 +- src/main/java/cn/nukkit/block/BlockOreIron.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/cn/nukkit/block/BlockOreGold.java b/src/main/java/cn/nukkit/block/BlockOreGold.java index 6b5804fce1b..4d4001f0781 100644 --- a/src/main/java/cn/nukkit/block/BlockOreGold.java +++ b/src/main/java/cn/nukkit/block/BlockOreGold.java @@ -41,7 +41,7 @@ public String getName() { @Override public Item[] getDrops(Item item) { if (item.isPickaxe() && item.getTier() >= ItemTool.TIER_IRON) { - if (GameVersion.V1_19_0.isAvailable()) { // V1_17_0 + if (GameVersion.V1_17_0.isAvailable()) { return new Item[]{ Item.get(Item.RAW_GOLD), }; diff --git a/src/main/java/cn/nukkit/block/BlockOreIron.java b/src/main/java/cn/nukkit/block/BlockOreIron.java index e9aa5c384b4..ce04764c810 100644 --- a/src/main/java/cn/nukkit/block/BlockOreIron.java +++ b/src/main/java/cn/nukkit/block/BlockOreIron.java @@ -41,7 +41,7 @@ public String getName() { @Override public Item[] getDrops(Item item) { if (item.isPickaxe() && item.getTier() >= ItemTool.TIER_STONE) { - if (GameVersion.V1_19_0.isAvailable()) { // V1_17_0 + if (GameVersion.V1_17_0.isAvailable()) { return new Item[]{ Item.get(Item.RAW_IRON), };