YAML issue config 5.4.7
SlimeDog opened this issue ยท 3 comments
Spigot 1.12.2
MH 5.4.7-b577
One class of nodes is preceded by hyphen: commands.chance. Why the difference?
For example
mobs:
blaze:
enabled: true
message: You got a Blaze skull and an Iron ingot.
money:
amount: '100.0'
chance: 1.0
commands:
- chance: '0.0'
cmd: give {player} iron_ingot 1
message: ''
- chance: '0.0'
cmd: mobhunt head give {player} Blaze Blaze 1 silent
message: ''
This is because it is a java List its not possible to change this. Each set of commands start with a hyphen.
- chance: '0.0'
cmd: give {player} iron_ingot 1
message: ''
and
- chance: '0.0'
cmd: mobhunt head give {player} Blaze Blaze 1 silent
message: ''