9
0
mirror of https://github.com/Auxilor/EcoSkills.git synced 2026-01-03 22:26:30 +00:00

Fixed farming again

This commit is contained in:
Auxilor
2021-10-30 10:50:16 +01:00
parent cef24f9286
commit 5cb112623c

View File

@@ -50,7 +50,9 @@ class SkillFarming : Skill(
}
}
if (event.block.isPlayerPlaced()) {
if (event.block.isPlayerPlaced() &&
(event.block.type == Material.PUMPKIN || event.block.type == Material.MELON || event.block.type == Material.SUGAR_CANE)
) {
return
}