Fixed NullPointerException while disabling SMPtweaks when server_levels were not enabled
Fixed a bug that caused rewards to not work properly when server_levels were not enabled
It is now possible to specify commands that are executed when a certain custom drop is dropped (suggested by Xiaoguard). Please note that @p simply gets replaced with the killers' name. It is not an actual target selector variable.
custom_drops:
enabled: false
mobs:
- type: ENDER_DRAGON
xp: 800
commands: # Commands that are executed whenever an entity of this type dies
drops:
- material: DRAGON_EGG
amount: 1
chance: 1.0
commands: # <--- this is new; Commands that are executed when this drop is dropped
- 'minecraft:msg @p The Ender Dragon has dropped its egg!'