9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-25 09:59:20 +00:00

2.2.6-hotfix

This commit is contained in:
Xiao-MoMi
2023-02-26 14:22:12 +08:00
parent 644b6f6a43
commit fefe1ae6f7
2 changed files with 1 additions and 2 deletions

View File

@@ -197,7 +197,6 @@ public class ItemsAdderWireHandler extends ItemsAdderHandler {
break label_out;
}
if (!isRipe(seedID)) {
if (player.getGameMode() == GameMode.CREATIVE) break label_out;
CustomBlock.remove(seedLocation);
customBlock.getLoot().forEach(loot -> location.getWorld().dropItemNaturally(seedLocation.getBlock().getLocation(), loot));
}