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 536e6be commit e4ff576Copy full SHA for e4ff576
src/main/java/mrbysco/constructionstick/basics/ReplacementRegistry.java
@@ -18,11 +18,11 @@ public class ReplacementRegistry {
18
public static void init() {
19
replacements.clear();
20
21
- for (Object key : ConstructionConfig.SIMILAR_BLOCKS.get()) {
+ for (String key : ConstructionConfig.SIMILAR_BLOCKS.get()) {
22
if (!(key instanceof String)) continue;
23
HashSet<Item> set = new HashSet<>();
24
25
- for (String id : ((String) key).split(";")) {
+ for (String id : key.split(";")) {
26
Item item = BuiltInRegistries.ITEM.get(ResourceLocation.tryParse(id));
27
if (item == null || item == Items.AIR) {
28
ConstructionStick.LOGGER.warn("Replacement Registry: Could not find item {}", id);
0 commit comments