Skip to content

Clean up and fix cooldown checking and message code.#538

Closed
hintron wants to merge 1 commit into
Multiverse:masterfrom
hintron:cooldown
Closed

Clean up and fix cooldown checking and message code.#538
hintron wants to merge 1 commit into
Multiverse:masterfrom
hintron:cooldown

Conversation

@hintron

@hintron hintron commented Mar 30, 2020

Copy link
Copy Markdown
Contributor

There were too many levels of indirection, leading to multiple sample
times and wasteful date object instantiations. The message logic was also just wrong.

Fixes #444

@dumptruckman dumptruckman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are excellent changes. Thank you! My only nitpick is that we (and Java in general) use lowerCamelCase for variable names instead of snake_case. Any change you could update the names for us?

There were too many levels of indirection, leading to multiple sample
times and wasteful date object instantiations.

Fixes Multiverse#444
@hintron

hintron commented Aug 27, 2020

Copy link
Copy Markdown
Contributor Author

Ok, I made the changes you asked for. Hopefully I did it correctly - not very familiar with this workflow.

@benwoo1110 benwoo1110 mentioned this pull request Oct 5, 2020
@nicegamer7 nicegamer7 closed this Nov 25, 2020
@nicegamer7 nicegamer7 deleted the branch Multiverse:master November 25, 2020 18:28
@nicegamer7

nicegamer7 commented Nov 25, 2020

Copy link
Copy Markdown
Member

Not sure why GitHub closed this. I changed the branch to main before deleting master... but I guess I was moving too quickly. Sorry about that.

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.

Portal Cooldown Timer message to Player shows time twice. (27s.27s.)

3 participants