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 stored regeneration condition not using updated vocation values #27

Conversation

beats-dh
Copy link
Collaborator

@beats-dh beats-dh commented Aug 28, 2021

Regeneration condition is not updated on login. To verify: log-in, eat food, log-out, edit vocation regeneration amount/ticks, restart server / reload vocations, log back in - condition is using the persisted values, because upon logging in conditions are temporarily kept in storedConditionList which are added to player after placing him on map.

Changes Proposed:
Forcibly update regeneration after storedConditionList is applied to player.

Credits: @marmichalski.

@Costallat Costallat force-pushed the master branch 4 times, most recently from 70cfa99 to ccd27ed Compare September 24, 2021 18:26
Regeneration condition is not updated on login. To verify: log-in, eat food, log-out, edit vocation regeneration amount/ticks, restart server / reload vocations, log back in - condition is using the persisted values, because upon logging in conditions are temporarily kept in storedConditionList which are added to player after placing him on map.

Changes Proposed:
Forcibly update regeneration after storedConditionList is applied to player.
@beats-dh beats-dh force-pushed the Fix-stored-regeneration-condition-not-using-updated-vocation-values branch from c9c5f03 to 117b26d Compare October 4, 2021 04:19
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 4, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@Costallat Costallat force-pushed the master branch 20 times, most recently from 29e30e0 to 55e6789 Compare October 5, 2021 17:14
@Costallat Costallat force-pushed the master branch 8 times, most recently from 88b2e44 to 4ab42fc Compare October 6, 2021 20:09
@Bipbop69 Bipbop69 mentioned this pull request Oct 9, 2021
8 tasks
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 2, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@majestyotbr majestyotbr merged commit dbdc38b into opentibiabr:master Nov 2, 2021
@beats-dh beats-dh deleted the Fix-stored-regeneration-condition-not-using-updated-vocation-values branch November 2, 2021 22:29
luan pushed a commit that referenced this pull request Jul 11, 2023
)

Regeneration condition is not updated on login. To verify: log-in, eat food, log-out, edit vocation regeneration amount/ticks, restart server / reload vocations, log back in - condition is using the persisted values, because upon logging in conditions are temporarily kept in storedConditionList which are added to player after placing him on map.
luan pushed a commit that referenced this pull request Jul 23, 2023
luan pushed a commit that referenced this pull request Jul 27, 2023
luan pushed a commit that referenced this pull request Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants