mirror of
https://github.com/songoda/UltimateTimber.git
synced 2024-11-05 01:59:43 +01:00
TreeCheck & NoAnimationTreeDestroye update
Increased accuracy of TreeCheck Fixed that when animation is disabled, it doesn't replant.
This commit is contained in:
parent
17cb5b6b76
commit
e485388b3d
1
.gitignore
vendored
1
.gitignore
vendored
@ -104,3 +104,4 @@ target/classes/config\.yml
|
||||
\.idea/libraries/Maven__org_yaml_snakeyaml_1_18\.xml
|
||||
|
||||
target/classes/com/songoda/ultimatetimber/utils/VersionChecker\.class
|
||||
target/UltimateTimber-maven-version-number.jar
|
||||
|
@ -57,7 +57,7 @@ public class TreeChecker {
|
||||
offset determines the search radius around the main trunk
|
||||
maxheight sets the maximum height the plugin will crawl through to find a tree
|
||||
*/
|
||||
int offset = 5;
|
||||
int offset = 8;
|
||||
int maxHeight = 31;
|
||||
|
||||
/*
|
||||
@ -108,11 +108,11 @@ public class TreeChecker {
|
||||
int radMin, radMax;
|
||||
|
||||
if (i > 5) {
|
||||
radMin = -2;
|
||||
radMax = 3;
|
||||
radMin = -3; //-2
|
||||
radMax = 4; //3
|
||||
} else {
|
||||
radMin = -1;
|
||||
radMax = 2;
|
||||
radMin = -2; //-1
|
||||
radMax = 3; //2
|
||||
}
|
||||
|
||||
for (int x = radMin; x < radMax; x++)
|
||||
|
Loading…
Reference in New Issue
Block a user