Вопрос по поводу event.setDrops() - (BlockBreakEvent)

Discussion in 'Разработка плагинов' started by BlackJIeB, 8/1/16.

  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
We welcome you on our site. This site is devoted to the Nukkit project and all that is connected with him. Here you can communicate, download plugins, also many other things get acquainted! Register the account right now :3
  1. BlackJIeB

    BlackJIeB Developer

    Messages:
    16
    Likes Received:
    3
    Minecraft:
    BlackJIeB
    Что нужно вставить внутри event.setDrops(), чтобы он ничего не дропал?
     
  2. fromgate

    fromgate Administrator

    Messages:
    665
    Likes Received:
    186
    Можно попробовать event.setDrops(null) или пустой массив event.setDrops (new Item[]{});
     
  3. BlackJIeB

    BlackJIeB Developer

    Messages:
    16
    Likes Received:
    3
    Minecraft:
    BlackJIeB
    спасибо)
     

Share This Page