Skip to content

Commit

Permalink
Fix Glotek and Neonite being only obtainable with `allowChiselCrossCo…
Browse files Browse the repository at this point in the history
…lors`

Remove Glotek and Neonite from being affected by:
```
# Should someone be able to chisel something into a different color.
    B:allowChiselCrossColors=false
```
They do not have recipes for each color variation, making them unobtainable should `allowChiselCrossColors` be false.
  • Loading branch information
DrParadox7 committed Jun 7, 2024
1 parent 6788f10 commit a366b40
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/main/java/team/chisel/Features.java
Original file line number Diff line number Diff line change
Expand Up @@ -1455,10 +1455,6 @@ void addBlocks() {
BlockCarvable glotek = (BlockCarvable) new BlockCarvableGlowie(Material.rock)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks);

if (!Configurations.allowChiselCrossColors) {
glotek.carverHelper.forbidChiseling = true;
}

for (int i = 0; i < 16; i++) {
glotek.carverHelper.addVariation(
"tile.glotek." + i + ".desc",
Expand Down Expand Up @@ -2658,10 +2654,6 @@ void addBlocks() {
BlockCarvable neonite = (BlockCarvable) new BlockCarvableGlowie(Material.rock)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks);

if (!Configurations.allowChiselCrossColors) {
neonite.carverHelper.forbidChiseling = true;
}

for (int i = 0; i < 16; i++) {
neonite.carverHelper.addVariation(
"tile.neonite." + i + ".desc",
Expand Down

0 comments on commit a366b40

Please sign in to comment.