Not Getting Ore Treasure
SomewhatDamaged opened this issue ยท 0 comments
Describe the bug
When mining ore, and I get a notice "You found treasure!" there is no extra ore dropped.
Expected behavior
Extra ore should drop.
To Reproduce
Steps to reproduce the behavior:
- Set mining to 300
- Break ore blocks, collecting loot after it drops, until treasure message received
- Only one has dropped
Screenshots
(from user on Discord)
Versions:
- Minecraft: 1.20.1
- Loader: Forge-47.0.3
- PMMO: 1.20.1-1.0.1
Additional context
Possibly a problem with the treasure configs. I just checked the one for iron, but others are like this, and they are:
{
"type": "pmmo:treasure",
"chance": 0.05,
"conditions": [
{
"condition": "pmmo:skill_level",
"level_max": 2147483647,
"level_min": 20,
"skill": "mining"
},
{
"condition": "pmmo:valid_block",
"tag": "forge:ores/iron"
}
],
"count": 0,
"item": "minecraft:air"
}
Should they be "minecraft:air"
and "count": 0
?