Spigot DamageDrops 1.6

Mobs have a chance to drop loot when taking damage

  1. TheMCmap submitted a new resource:

    DamageDrops - Mobs have a chance to drop loot when taking damage

    Read more about this resource...
     
  2. Hey, could you please make a config option to disable this plugin in mob spawners?
     
  3. TheMCmap updated DamageDrops with a new update entry:

    DamageDrops - 1.3 Bees and Blaze

    Read the rest of this update entry...
     
  4. TheMCmap updated DamageDrops with a new update entry:

    DamageDrops - 1.5 Loot options

    Read the rest of this update entry...
     
  5. Code (Java):
    [23:56:13 ERROR]: Could not pass event EntityDamageByEntityEvent to DamageDrops v1.4
    java.lang.IllegalArgumentException: Material cannot be null
            at org.apache.commons.lang.Validate.notNull(Validate.java:192) ~[purpurclip.jar:git-Purpur-1285]
            at org.bukkit.inventory.ItemStack.<init>(ItemStack.java:97) ~[purpurclip.jar:git-Purpur-1285]
            at org.bukkit.inventory.ItemStack.<init>(ItemStack.java:85) ~[purpurclip.jar:git-Purpur-1285]
            at org.bukkit.inventory.ItemStack.<init>(ItemStack.java:73) ~[purpurclip.jar:git-Purpur-1285]
            at me.andyw19.damagedrops.DamageListener.loot(DamageListener.java:155) ~[?:?]
            at me.andyw19.damagedrops.DamageListener.mobCheck(DamageListener.java:119) ~[?:?]
            at me.andyw19.damagedrops.DamageListener.onEntityDamage(DamageListener.java:86) ~[?:?]
            at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor443.execute(Unknown Source) ~[?:?]
            at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[purpurclip.jar:git-Purpur-1285]
            at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[purpurclip.jar:git-Purpur-1285]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpurclip.jar:git-Purpur-1285]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[purpurclip.jar:git-Purpur-1285]
            at org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:242) ~[purpurclip.jar:git-Purpur-1285]
            at org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:1112) ~[purpurclip.jar:git-Purpur-1285]
            at org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:996) ~[purpurclip.jar:git-Purpur-1285]
            at org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:951) ~[purpurclip.jar:git-Purpur-1285]
            at org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:1144) ~[purpurclip.jar:git-Purpur-1285]
     
  6. The issue was just the syntax for bone meal in the skeleton item drop list. You can fix it by just replacing "BONEMEAL" with "BONE_MEAL" in the config. Will update the default config shortly.
     
    #10 TheMCmap, Jul 25, 2021
    Last edited: Jul 25, 2021