EntityRemoveEvent removes the item which has been removed from the list #159


  • Enhancement
Open
Assigned to bob7l
  • Haarolean created this issue Oct 24, 2016

    Pastebin link to your Config (I will ignore your ticket if it doesn't contain this:

    default config
    config-version: 9

    What version of the product are you using?
    version: 2.9.3

    Do you have an error log of what happened?
    nope

    Please provide any additional information below.

    I'm trying to keep items from despawning this way:
    https://gist.github.com/Haarolean/1399f97ff5e467c3a81162ff1532293f
    It works with the test server, same way I'm preventing picking this item up, but on the production server this item despawns.

  • Haarolean added the tags New Defect Oct 24, 2016
  • bob7l posted a comment Oct 24, 2016

    Some aspects of clearlag ignore the API and remove the entity no matter what.

    Which part of Clearlag is removing the entity? /lagg killmobs?

  • Haarolean posted a comment Oct 27, 2016

    No, they've been removed automatically without using commands.

  • bob7l posted a comment Oct 27, 2016

    @Zeluboba: Go

    Ok but what is removing them? There are around 20 things in clearlag that remove entities.

  • Haarolean posted a comment Dec 19, 2016

     

    Setting 'itemtimer: false' stops your plugin from removing the items. Can you modify your code to make API work with all aspects? Or add custom check like "don't remove the item, if it has metadata 'ClearLagIgnore'"?


    Edited Dec 19, 2016
  • bob7l added a tag Enhancement Jun 24, 2017
  • bob7l removed the tags Defect New Jun 24, 2017

To post a comment, please login or register a new account.