Skip to content

Commit

Permalink
Fix diamond and obsidian not being included in metalVariants setting
Browse files Browse the repository at this point in the history
Closes #139
  • Loading branch information
rubensworks committed Aug 7, 2020
1 parent ac71017 commit ebbf4e3
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class GeneralConfig extends DummyConfig {
@ConfigurableProperty(category = "general", comment = "If items should be ejected from the chests if one of the structure blocks are removed.", configLocation = ModConfig.Type.SERVER)
public static boolean ejectItemsOnDestroy = false;

@ConfigurableProperty(category = "general", comment = "If the higher tier metal variants can be crafted.", configLocation = ModConfig.Type.SERVER)
@ConfigurableProperty(category = "general", comment = "If the higher tier metal variants (including diamond and obsidian) can be crafted.", configLocation = ModConfig.Type.SERVER)
public static boolean metalVariants = true;

@ConfigurableProperty(category = "core", comment = "Maximum buffer byte size for adaptive inventory slots fragmentation.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,10 @@
},
"result": {
"item": "colossalchests:chest_wall_diamond"
}
},
"conditions": [
{
"type": "colossalchests:metal_variants_enabled"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,10 @@
},
"result": {
"item": "colossalchests:chest_wall_obsidian"
}
},
"conditions": [
{
"type": "colossalchests:metal_variants_enabled"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,10 @@
],
"result": {
"item": "colossalchests:colossal_chest_diamond"
}
},
"conditions": [
{
"type": "colossalchests:metal_variants_enabled"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,10 @@
],
"result": {
"item": "colossalchests:colossal_chest_obsidian"
}
},
"conditions": [
{
"type": "colossalchests:metal_variants_enabled"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,10 @@
},
"result": {
"item": "colossalchests:interface_diamond"
}
},
"conditions": [
{
"type": "colossalchests:metal_variants_enabled"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,10 @@
},
"result": {
"item": "colossalchests:interface_obsidian"
}
},
"conditions": [
{
"type": "colossalchests:metal_variants_enabled"
}
]
}

0 comments on commit ebbf4e3

Please sign in to comment.