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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user