DaPigGuy / PiggyCrates

A crate plugin for PocketMine-MP supporting unlimited crate types
https://piggydocs.aericio.net/PiggyCrates.html
Apache License 2.0
31 stars 41 forks source link

Cannot get Custom Enchanted Books to work. #48

Closed xDanub closed 5 years ago

xDanub commented 5 years ago

Please make sure your issue complies with these guidelines:

General

I’m not exactly sure why but Enchanted Books won’t keep their enchant. I have PiggyCE set to have the enchantment in the name instead of the lore. I’m not sure which one was supposed to work so I tried this config and none returned an enchanted book.

Version:

- PiggyCrates: 1.4.0 - PiggyCustomEnchants: 1.4.5

Steps to Reproduce the Issue

  1. Set this as your config:
    
    drops:
      - name: "Enchanted Book"
        id: 403
        meta: 0
        amount: 1
        chance: 4
        enchantments:
          Charge:
            level: 1
      - name: "Enchanted Book"
        id: 403
        meta: 0
        amount: 1
        chance: 4
        enchantments:
          charge:
            level: 1
      - name: "Charge I"
        id: 403
        meta: 0
        amount: 1
        chance: 4
        enchantments:
          Charge:
            level: 1
      - name: "Charge I"
        id: 403
        meta: 0
        amount: 1
        chance: 4
        enchantments:
          charge:
            level: 1
    amount: 1
    particle: lava
    delay: 0.25
    block: "57:0" ```
  2. Open Mythic crates

    Extra Information

xDanub commented 5 years ago

I also have the Custom Enchants on armor pieces that do work, forgot to mention that, sorry.

Aericio commented 5 years ago

It should work if you update PiggyCustomEnchants to 1.4.6.

xDanub commented 5 years ago

Tysm! Long time no see Aericio! <3