Skip to content

Commit

Permalink
v7.3.54 - fix a diagonal loop determination issue resulting in false …
Browse files Browse the repository at this point in the history
…negative tree validity checks
  • Loading branch information
slipcor committed Apr 5, 2024
1 parent ca65ef9 commit 07e08e5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## v7.3 - API Expansion

- v7.3.54 - fix a diagonal loop determination issue resulting in false negative tree validity checks
- v7.3.53 - properly reset Toggle varibale when toggling functionality back on - affects "Remember Toggle Status"
- v7.3.52 - [core update] - Support servers without Spigot base unless they want to use hex codes
- v7.3.51 - update for 1.20.4, also make updating minecraft-version-dependent to not break servers by introducing unknown blocks or tree definitions
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ It also will take down an entire tree when it is enabled in the config.

## Changelog

- v7.3.53 - properly reset Toggle varibale when toggling functionality back on - affects "Remember Toggle Status"
- v7.3.54 - fix a diagonal loop determination issue resulting in false negative tree validity checks
- [read more](doc/changelog.md)

***
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ private List<Block> findTrunk() {
debug.i("It's an extra l block: " + BlockUtils.printBlock(checkBlock));
} else if (naturalBlocks.contains(innerCheck)){
debug.i("It's a natural l block " + BlockUtils.printBlock(checkBlock));
} else if (!allTrunks.contains(checkMaterial) && !allExtras.contains(checkMaterial)) {
} else if (!allTrunks.contains(innerCheck) && !allExtras.contains(innerCheck)) {
debug.i("Unexpected l block! Not a valid tree!");

discoveryResult = new DiscoveryResult(config, this, FailReason.INVALID_TRUNK_BLOCK, "block C: " + BlockUtils.printBlock(checkBlock));
Expand Down

0 comments on commit 07e08e5

Please sign in to comment.