yapzhenyie / GadgetsMenu

Feature-rich cosmetics plugin that provide players with the most powerful features.
http://bit.ly/GadgetsMenu
66 stars 24 forks source link

Paintball gun bug when hit a librarian table #855

Closed Serial1990 closed 3 years ago

Serial1990 commented 3 years ago

Describe the bug When i hit a librarian table in which there is a book, the book pops out.

To Reproduce Steps to reproduce the behavior:

  1. select the Paintball Gun
  2. Hit a librarian table with the Paintball Gun
  3. The book pops out.

Expected behavior A clear and concise description of what you expected to happen.

Further Information (please complete the following information):

yapzhenyie commented 3 years ago

Describe the bug When i hit a librarian table in which there is a book, the book pops out.

To Reproduce Steps to reproduce the behavior:

  1. select the Paintball Gun
  2. Hit a librarian table with the Paintball Gun
  3. The book pops out.

Expected behavior A clear and concise description of what you expected to happen.

Further Information (please complete the following information):

  • Server Version: Paper 1.16.5 #569
  • GadgetsMenu Version: 4.6.7

You can set those blocks you do not want to be painted. You can check gadgets.yml file.

      Paintball Gun:
        Name: '&aPaintball Gun Gadget'
        Material: DIAMOND_HORSE_ARMOR
        Radius: 3
        Blacklist:
        - SAND
        - GRAVEL
        - SPAWNER

https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html

Serial1990 commented 3 years ago

Thanks that solves our problem. :)