add first patch
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
console.info("[SOCIETY] disableHoeRichSoil.js loaded");
|
||||
|
||||
BlockEvents.rightClicked(
|
||||
[
|
||||
"farmersdelight:rich_soil",
|
||||
"vintagedelight:lush_grass_block",
|
||||
],
|
||||
(e) => {
|
||||
const hoes = [
|
||||
"minecraft:wooden_hoe",
|
||||
"minecraft:stone_hoe",
|
||||
"minecraft:iron_hoe",
|
||||
"minecraft:golden_hoe",
|
||||
"minecraft:diamond_hoe",
|
||||
"minecraft:netherite_hoe",
|
||||
"aquaculture:neptunium_hoe",
|
||||
'farm_and_charm:pitchfork'
|
||||
];
|
||||
if (hoes.includes(e.item.getId())) e.cancel()
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user