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

fix(Core/World): edge case when last Char on realm was deleted #20864

Conversation

Tralenor
Copy link
Contributor

@Tralenor Tralenor commented Dec 7, 2024

Issues Addressed:

Tests Performed:

This PR has been:

  • Tested in-game by the author.

How to Test the Changes:

  • This pull request can be tested by following the reproduction steps provided in the linked issue

How to Test AzerothCore PRs

When a PR is ready to be tested, it will be marked as [WAITING TO BE TESTED].

You can help by testing PRs and writing your feedback here on the PR's page on GitHub. Follow the instructions here:

http://www.azerothcore.org/wiki/How-to-test-a-PR

REMEMBER: when testing a PR that changes something generic (i.e. a part of code that handles more than one specific thing), the tester should not only check that the PR does its job (e.g. fixing spell XXX) but especially check that the PR does not cause any regression (i.e. introducing new bugs).

For example: if a PR fixes spell X by changing a part of code that handles spells X, Y, and Z, we should not only test X, but we should test Y and Z as well.

@github-actions github-actions bot added CORE Related to the core file-cpp Used to trigger the matrix build labels Dec 7, 2024
@Tralenor Tralenor changed the title fix edge case in UpdateRealmCharCount when last Char on realm was deleted (Issue #8629) Fix(CORE) edge case in UpdateRealmCharCount when last Char on realm was deleted (Issue #8629) Dec 7, 2024
@Tralenor Tralenor changed the title Fix(CORE) edge case in UpdateRealmCharCount when last Char on realm was deleted (Issue #8629) Fix(Core) edge case in UpdateRealmCharCount when last Char on realm was deleted (Issue #8629) Dec 7, 2024
@Grimdhex Grimdhex changed the title Fix(Core) edge case in UpdateRealmCharCount when last Char on realm was deleted (Issue #8629) fix(Core/World): edge case when last Char on realm was deleted Dec 8, 2024
src/server/game/World/World.cpp Outdated Show resolved Hide resolved
@Tralenor
Copy link
Contributor Author

@Grimdhex I retested it with the suggested changes and pushed it now :)

@Tralenor Tralenor requested a review from Grimdhex December 21, 2024 11:43
@Grimdhex Grimdhex merged commit 70c34bd into azerothcore:master Jan 9, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CORE Related to the core file-cpp Used to trigger the matrix build To Be Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Number of char on the server list dont pass from 1 to 0
2 participants