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

Fixed CreateStackArrayInContainer so it doesn't return error if there… #150

Merged

Conversation

Reloecc
Copy link
Contributor

@Reloecc Reloecc commented Mar 23, 2024

CreateStackArrayInContainer returns A parameter was invalid error if
amount-(amount/limit_per_stack)*limit_per_stack) == 0. So if used for example with amount 50000 and limit_per_stack 10000, it will return an errortext in the last result.

I believe it should pass just fine in such case. Leftover amount should be checked for greater than zero prior to creating.

@Admin-Yukiko Admin-Yukiko merged commit 55a8381 into polserver:master Mar 24, 2024
1 check passed
@Admin-Yukiko
Copy link
Contributor

Thank you for the fix.

@Reloecc Reloecc deleted the fix/CreateStackArrayInContainer branch March 24, 2024 10:32
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

Successfully merging this pull request may close these issues.

2 participants