File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/com/simibubi/create/content/kinetics Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
package com .simibubi .create .content .kinetics ;
2
2
3
- import java .util .HashMap ;
4
3
import java .util .Map ;
4
+ import java .util .concurrent .ConcurrentHashMap ;
5
5
import java .util .function .Supplier ;
6
6
7
7
import com .simibubi .create .foundation .utility .Couple ;
@@ -20,9 +20,9 @@ public class BlockStressDefaults {
20
20
*/
21
21
public static final int FORCED_UPDATE_VERSION = 2 ;
22
22
23
- public static final Map <ResourceLocation , Double > DEFAULT_IMPACTS = new HashMap <>();
24
- public static final Map <ResourceLocation , Double > DEFAULT_CAPACITIES = new HashMap <>();
25
- public static final Map <ResourceLocation , Supplier <Couple <Integer >>> GENERATOR_SPEEDS = new HashMap <>();
23
+ public static final Map <ResourceLocation , Double > DEFAULT_IMPACTS = new ConcurrentHashMap <>();
24
+ public static final Map <ResourceLocation , Double > DEFAULT_CAPACITIES = new ConcurrentHashMap <>();
25
+ public static final Map <ResourceLocation , Supplier <Couple <Integer >>> GENERATOR_SPEEDS = new ConcurrentHashMap <>();
26
26
27
27
public static void setDefaultImpact (ResourceLocation blockId , double impact ) {
28
28
DEFAULT_IMPACTS .put (blockId , impact );
You can’t perform that action at this time.
0 commit comments