Update Dropped Items

Discussion in 'Plugin Development' started by OkayName, Apr 27, 2021.

  1. Offline

    OkayName

    Hello! So basically, I am trying to make certain items immune to lava and cacti, which I have done successfully by checking for EntityDamageEvent, and if it is an item, cancelling the event. The problem now is that the item does not show up, but if you move close to the item, you are able to pick it up. Its basically like its invisible to the client, and I was wondering if there is any way to update the dropped item so that the client can see it again.

    bump

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Apr 28, 2021
  2. Offline

    Kars

    Remove it and re-drop it.
     

Share This Page