VillagerTradeAPI icon indicating copy to clipboard operation
VillagerTradeAPI copied to clipboard

Trade closed when Result item clicked

Open ChaostixZix opened this issue 4 years ago • 0 comments

Hi. Whenever i clicked the result item the trade got closed $tags = new CompoundTag("Offers", [ new ListTag("Recipes", [ new CompoundTag("", [ new ByteTag("rewardExp", 1), new IntTag("maxUses", mt_rand(2, 12)), new IntTag("uses", 0), Item::get(Item::PACKED_ICE, 0, 2)->nbtSerialize(-1, "buyA"), Item::get(Item::PAPER)->nbtSerialize(-1, "sell") ])

ChaostixZix avatar May 04 '20 04:05 ChaostixZix