Auxilor / EcoItems

Custom items plugin for the latest spigot version
GNU General Public License v3.0
50 stars 27 forks source link

multiply_drops effect not working #10

Closed LuluxClient closed 2 years ago

LuluxClient commented 2 years ago

Describe the bug When trying to make a pickaxe double the drops by 2 it will always drop 1

To Reproduce Steps to reproduce the behavior:

  1. Grab a pickaxe with this configs of effects:

    - id: multiply_drops
    args:
      fortune: 3
      on_items: 20
    triggers:
    - block_item_drop
  2. Mine a block / kill a mob

  3. it won't change anything

Expected behavior it should double / triple or idk how many since I've put a ridiculous number as a test run

Screenshots If applicable, add screenshots to help explain your problem. None

Server Information (please complete the following information):

WillFP commented 2 years ago

on_items should be a list of items? eg diamond, raw_iron

LuluxClient commented 2 years ago

on_items should be a list of items? eg diamond, raw_iron

Oh i'm super duper dumb I'll try that

WillFP commented 2 years ago

Just tested it, confirmed as working