ozeki6 32 Posted November 26, 2018 when you first open a trade interface and there is nothing in trade it will give you a NPE. If you add an item to the trade then it starts working properly.
ozeki6 32 Author Posted November 26, 2018 7 hours ago, Hashtag said: What is the exact code statement you use? if(!context.getTrade().contains(true, itemsList.getList().get(itemId), itemId)) I first thought that my itemsList throws the NPE but after checking it multiple times it seems that is the contains methods.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.