9
0
mirror of https://github.com/Auxilor/EcoSkills.git synced 2026-01-01 05:16:28 +00:00

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	gradle.properties
This commit is contained in:
Auxilor
2021-11-21 17:38:25 +00:00
3 changed files with 5 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ import org.bukkit.block.data.Ageable
import org.bukkit.event.EventHandler
import org.bukkit.event.EventPriority
import org.bukkit.event.block.BlockBreakEvent
import java.util.EnumMap
import java.util.*
class SkillFarming : Skill(
"farming"
@@ -51,7 +51,8 @@ class SkillFarming : Skill(
}
if (BlockUtils.isPlayerPlaced(event.block) &&
(event.block.type == Material.PUMPKIN || event.block.type == Material.MELON || event.block.type == Material.SUGAR_CANE)
(event.block.type == Material.PUMPKIN || event.block.type == Material.MELON
|| event.block.type == Material.SUGAR_CANE || event.block.type == Material.COCOA)
) {
return
}

View File

@@ -81,4 +81,4 @@ xp-rewards:
- "sugar_cane:2"
- "brown_mushroom:6"
- "red_mushroom:6"
- "cocoa_beans:3"
- "cocoa:3"

View File

@@ -1,2 +1,2 @@
version = 1.11.8
version = 1.11.9
plugin-name = EcoSkills