Completely reworked rewards, regenerate enchantment's configuration file to use
Example:
Code (YAML):
'1':
rewards:
block:
'1':
chance
: 100
commands
:
- '
[MESSAGE
] &dYou have won 1 dirt as a reward'
- '
[COMMAND
] give
%player% dirt 1'
'2':
chance
: 20
commands
:
- '
[MESSAGE
] &aYou have won 1 emerald as a reward'
- '
[COMMAND
] give
%player% emerald 1'
explosive:
'1':
chance
: 100
commands
:
- '
[MESSAGE
] &dYou have won <math>
%blocks%/2</math> dirt as a reward'
- '
[COMMAND
] give
%player% dirt <math>%blocks%/2</math>'
'2':
chance
: 20
commands
:
- '
[MESSAGE
] &aYou have won <math>
%blocks%/2</math> emerald as a reward'
- '
[COMMAND
] give
%player% emerald <math>%blocks%/2</math>'