BoxOfDevs / CommandShop

Players have to pay items or money to use specific commands! A PocketMine plugin.
Other
31 stars 10 forks source link

receive the same item several times #14

Closed llronaldoll closed 6 years ago

llronaldoll commented 6 years ago

When I click on the card to buy an item, I receive the same item several times

AvgZing commented 6 years ago

More steps to reproduce would be helpful. What item are you attempting to buy? What does the sign display? What are the commands that you entered in order to set it up so far?

llronaldoll commented 6 years ago

I just realized that this happens only in the windows 10 version this click spam happens with any command but only in the version windows 10

AvgZing commented 6 years ago

Well, that makes more sense. Win10 edition spam interactevent many times per tick, which is more than likely the root cause of this issue. Feel free to join our discord server at https://discord.me/bod for a faster reply from other developers and team members.

HimbeersaftLP commented 6 years ago

We should put a cooldown in place to prevent this from happening

HimbeersaftLP commented 6 years ago

Added in 4be927d102d979cd7428cde0865b0b26fc06e79b, use the latest Poggit build to test it.

HimbeersaftLP commented 6 years ago

Removed that annoying message ("Blocked 1 Interact spam") that I forgot, pls update.