File tree 1 file changed +2
-1
lines changed
src/main/java/com/ferreusveritas/dynamictrees/api/worldgen
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 14
14
import java .util .HashMap ;
15
15
import java .util .List ;
16
16
import java .util .Map ;
17
+ import java .util .concurrent .ConcurrentHashMap ;
17
18
18
19
/**
19
20
* Implementations will find a suitable area to generate a tree on the ground.
@@ -29,7 +30,7 @@ public interface GroundFinder {
29
30
* If this is not set manually, the ground finder returned will be {@link #SUBTERRANEAN} if {@link DimensionType#hasCeiling()}
30
31
* returns {@code true} or {@link #SURFACE} if {@code false}.
31
32
*/
32
- Map <ResourceKey <Level >, GroundFinder > GROUND_FINDERS = new HashMap <>();
33
+ Map <ResourceKey <Level >, GroundFinder > GROUND_FINDERS = new ConcurrentHashMap <>();
33
34
34
35
/**
35
36
* Finds the {@link BlockPos} of the first ground block for the y-column of the start {@link BlockPos} given.
You can’t perform that action at this time.
0 commit comments