Skip to content

Commit

Permalink
0.1.2-pre9
Browse files Browse the repository at this point in the history
  • Loading branch information
My-Name-Is-Jeff committed Mar 30, 2021
1 parent 8e01e9e commit bcf915c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ buildscript {
apply plugin: "net.minecraftforge.gradle.forge"
apply plugin: "org.spongepowered.mixin"

version = "0.1.2-pre8"
version = "0.1.2-pre9"
group = "skytils.skytilsmod"
archivesBaseName = "Skytils"

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/skytils/skytilsmod/Skytils.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
public class Skytils {
public static final String MODID = "skytils";
public static final String MOD_NAME = "Skytils";
public static final String VERSION = "0.1.2-pre8";
public static final String VERSION = "0.1.2-pre9";
public static final Minecraft mc = Minecraft.getMinecraft();

public static Config config = new Config();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ public void onGetBlockModel(RenderBlockInWorldEvent event) {
if (Objects.equals(SBInfo.getInstance().getLocation(), "mining_3")) {
if (event.pos.getY() <= 76) {
if (state.getBlock() == Blocks.stained_glass && state.getValue(BlockStainedGlass.COLOR) == EnumDyeColor.WHITE) {
event.state = Blocks.stained_glass.getStateFromMeta(EnumDyeColor.GRAY.getMetadata());
event.state = state.withProperty(BlockStainedGlass.COLOR, EnumDyeColor.GRAY);
}
if (state.getBlock() == Blocks.carpet && state.getValue(BlockCarpet.COLOR) == EnumDyeColor.WHITE) {
event.state = Blocks.carpet.getStateFromMeta(EnumDyeColor.GRAY.getMetadata());
event.state = state.withProperty(BlockCarpet.COLOR, EnumDyeColor.GRAY);
}
}
}
Expand Down

0 comments on commit bcf915c

Please sign in to comment.