Skip to content

Massive refactors and fixes#155

Open
skbeh wants to merge 1 commit intoTheTurkeyDev:masterfrom
skbeh:refactor
Open

Massive refactors and fixes#155
skbeh wants to merge 1 commit intoTheTurkeyDev:masterfrom
skbeh:refactor

Conversation

@skbeh
Copy link

@skbeh skbeh commented Jan 15, 2024

  • Fix sign text corrupts. Do not pass org.bukkit.block.Sign around since there is no guaranty that it is valid after org.bukkit.block.Sign#update().
  • Fix thread-safety issue with onPlayerChat.
  • Fix gun fires when repairing barrier via sign.
  • Fix player was able to change text on sign.
  • Fix zombie spawnpoint selection logic.
  • Add barrier break and repair progress display.
  • Use barrier block count - 1 as max break/fix level.
  • Replace RNG with the more modern one.
  • And many other low-level fixes, refactors and improvements.

Resolve #97.

* Fix sign text corrupts. Do not pass `org.bukkit.block.Sign` around
  since there is no guaranty that it is valid after `org.bukkit.block.Sign#update()`.
* Fix thread-safety issue with `onPlayerChat`.
* Fix gun fires when repairing barrier via sign.
* Fix player was able to change text on sign.
* Fix zombie spawnpoint selection logic.
* Add barrier break and repair progress display.
* Use barrier block count - 1 as max break/fix level.
* Replace RNG with the more modern one.
* And many other low-level fixes, refactors and improvements.

Resolve TheTurkeyDev#97.
@ikbenignace
Copy link
Contributor

Seems like a very good PR, know I did go through some things and it looks good.
How well did you test everything? The only problem with this PR is that everything is in 1 commit message so hard to backtrack things.

What do you think about this PR @TheTurkeyDev ?

TheTurkeyDev added a commit that referenced this pull request Jan 3, 2025
Make all of the logging and prefixes consistant and uniform
Added some changes from PR #155
@ikbenignace
Copy link
Contributor

No further progress @TheTurkeyDev

@TheTurkeyDev
Copy link
Owner

I've cherry picked and implemented a lot of these changes myself, but not all. May just close this PR

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.

Shift to repair barriers?

3 participants