Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seller Minions Incorrectly Counting Sold Items #34

Open
discordbotttd opened this issue Sep 21, 2024 · 2 comments
Open

Seller Minions Incorrectly Counting Sold Items #34

discordbotttd opened this issue Sep 21, 2024 · 2 comments

Comments

@discordbotttd
Copy link

The Seller Minions are not correctly counting the number of items sold. When selling stacked items, the minion incorrectly counts an entire stack (e.g., 64 items) as only 1 item in the statistics.

Steps to Reproduce:
Place a stack of items (e.g., 32 or 64) in a chest to be sold by a Seller Minion.
Observe that the minion sells the correct number of items.
Check the minion's statistics for the number of items sold.
Expected Behavior:
The minion should count each individual item in a stack. For example:

Selling a stack of 64 items should increase the count by 64 in the statistics.
Actual Behavior:
The minion is only counting the entire stack as 1 item in the statistics, regardless of how many items are in the stack.

Example:
If you sell 32 items, the minion successfully sells the entire stack, but the statistics only reflect 1 item sold, rather than the actual 32.
Additional Context:
This issue impacts the accuracy of the minion's sales statistics, especially when dealing with large quantities of stacked items.

@AverageGithub
Copy link
Member

What version of the plugin are you using?

@discordbotttd
Copy link
Author

1.0.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants