Remove an item from a chest

Discussion in 'Spigot Help' started by Blooker, Apr 27, 2017.

Thread Status:
Not open for further replies.
  1. Hello,
    I was trying to remove an item from a chest.
    Code (Text):
    e.getDestination().remove(e.getItem());
     
    It worked fine when there were no items of that type in the chest. But as soon as i put an item in the chest it didn't work anymore... Is that a bug? Am I doing sth wrong?
    Help is appreciated :D
    Thanks
     
Thread Status:
Not open for further replies.