Easy NPC

Easy NPC

2M Downloads

Question about trading reset

Jart2606 opened this issue ยท 3 comments

commented

I have a question about the trading reset sistem it says min. for reset.
i have npcs that give trades and i limited the amount of trading they can do in a row, and i want to make it so people have to wait for 15 to 20 minutes to be able to trade again, but no matter what number i put in "min for reset" it always lets people trade after a couple seconds, is there any way to fix this?

commented

Could you please let me know how many trading NPCs you are using ?

The reset works on a tick base, so not after the last item was sold.
This means if you are unlucky it could be that the reset just happen after an item is sold-out.

I will test this in the developer version to see if I could reproduce the issue.

commented

I also have found this issue, you can simply leave the trade menu, and reopen it, and the NPC is restocked. Is there a way to fix this?

commented

Hello, I have exactly the same problem, I currently have 12 NPC trading, each with a limit of 5 exchanges per 60 minutes per item. A player on my server told me, that the limit resets when closing the display and reopening it, almost systematically.

Minecraft version: 1.20.1
Mod version: forge 1.20.1-4.5.1

Thanks for your help.
Bye !