We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 784e1b8 commit 958ff81Copy full SHA for 958ff81
src/main/java/aztech/modern_industrialization/machines/multiblocks/HatchFlags.java
@@ -23,7 +23,6 @@
23
*/
24
package aztech.modern_industrialization.machines.multiblocks;
25
26
-import java.util.Collections;
27
import java.util.HashSet;
28
import java.util.Set;
29
@@ -33,7 +32,7 @@ public class HatchFlags {
33
32
private final Set<HatchType> allowed;
34
35
public HatchFlags(Set<HatchType> allowed) {
36
- this.allowed = Collections.unmodifiableSet(allowed);
+ this.allowed = Set.copyOf(allowed);
37
}
38
39
public boolean allows(HatchType type) {
0 commit comments