diff options
author | bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com> | 2020-09-29 20:45:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-29 20:45:58 +0200 |
commit | 30097b9cf11fefa9a40eaa19b0fa6d397f42d34d (patch) | |
tree | 6165d6f3bfd84eb6b9267b292a4c1eefed9f0135 | |
parent | cac180287c2bc07f307e8ebdd37d2df3f782e3cd (diff) | |
download | GT5-Unofficial-30097b9cf11fefa9a40eaa19b0fa6d397f42d34d.tar.gz GT5-Unofficial-30097b9cf11fefa9a40eaa19b0fa6d397f42d34d.tar.bz2 GT5-Unofficial-30097b9cf11fefa9a40eaa19b0fa6d397f42d34d.zip |
removed unused import (#38)
-rw-r--r-- | src/main/java/com/github/technus/tectech/mechanics/structure/StructureUtility.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/github/technus/tectech/mechanics/structure/StructureUtility.java b/src/main/java/com/github/technus/tectech/mechanics/structure/StructureUtility.java index 2f6998f028..521b0e7645 100644 --- a/src/main/java/com/github/technus/tectech/mechanics/structure/StructureUtility.java +++ b/src/main/java/com/github/technus/tectech/mechanics/structure/StructureUtility.java @@ -217,11 +217,11 @@ public class StructureUtility { /** * Allows block duplicates (with different meta) */ - public static <T> IStructureElementNoPlacement<T> ofBlocksMapHint(Map<Block, Set<Integer>> blocsMap, Block hintBlock, int hintMeta) { + public static <T> IStructureElementNoPlacement<T> ofBlocksMapHint(Map<Block, Collection<Integer>> blocsMap, Block hintBlock, int hintMeta) { if (blocsMap == null || blocsMap.isEmpty() || hintBlock == null) { throw new IllegalArgumentException(); } - for (Set<Integer> value : blocsMap.values()) { + for (Collection<Integer> value : blocsMap.values()) { if (value.isEmpty()) { throw new IllegalArgumentException(); } @@ -336,11 +336,11 @@ public class StructureUtility { /** * Allows block duplicates (with different meta) */ - public static <T> IStructureElement<T> ofBlocksMap(Map<Block, Set<Integer>> blocsMap, Block defaultBlock, int defaultMeta) { + public static <T> IStructureElement<T> ofBlocksMap(Map<Block, Collection<Integer>> blocsMap, Block defaultBlock, int defaultMeta) { if (blocsMap == null || blocsMap.isEmpty() || defaultBlock == null) { throw new IllegalArgumentException(); } - for (Set<Integer> value : blocsMap.values()) { + for (Collection<Integer> value : blocsMap.values()) { if (value.isEmpty()) { throw new IllegalArgumentException(); } |