From d90cd61a5d75984acd81553ef110e6f37a4f4c89 Mon Sep 17 00:00:00 2001 From: Aleksey-Terzi Date: Thu, 16 Jul 2015 14:59:18 +0300 Subject: [PATCH] 1.0.19 - fixed rendering issue - lantern and raw mud brick is invisible when placed at y=144 and chunk haven't solid blocks above 144 --- build.prop | 2 +- src/com/aleksey/decorations/DecorationsMod.java | 2 +- src/com/aleksey/decorations/Render/Blocks/RenderLantern.java | 2 +- .../aleksey/decorations/Render/Blocks/RenderMudBrickRaw.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.prop b/build.prop index 9ff96a3..a0e45c1 100644 --- a/build.prop +++ b/build.prop @@ -1,5 +1,5 @@ minecraft_version=1.7.10 forge_version=10.13.2.1291 -mod_version=1.0.18 +mod_version=1.0.19 group_name=com.aleksey.decorations archive_name=[1.7.10]Decorations \ No newline at end of file diff --git a/src/com/aleksey/decorations/DecorationsMod.java b/src/com/aleksey/decorations/DecorationsMod.java index 4c9ab9c..0d0938c 100644 --- a/src/com/aleksey/decorations/DecorationsMod.java +++ b/src/com/aleksey/decorations/DecorationsMod.java @@ -23,7 +23,7 @@ import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.registry.ExistingSubstitutionException; -@Mod(modid="DecorationsTFC", name="Decorations", version="1.0.18", dependencies="required-after:terrafirmacraft") +@Mod(modid="DecorationsTFC", name="Decorations", version="1.0.19", dependencies="required-after:terrafirmacraft") public class DecorationsMod { @Instance("DecorationsTFC") diff --git a/src/com/aleksey/decorations/Render/Blocks/RenderLantern.java b/src/com/aleksey/decorations/Render/Blocks/RenderLantern.java index ed0f7a9..755771d 100644 --- a/src/com/aleksey/decorations/Render/Blocks/RenderLantern.java +++ b/src/com/aleksey/decorations/Render/Blocks/RenderLantern.java @@ -202,7 +202,7 @@ else if(isWall(backBlock)) renderer.clearOverrideBlockTexture(); - return false; + return true; } private static boolean isWallLow(int x, int y, int z, Block block, RenderBlocks renderer) diff --git a/src/com/aleksey/decorations/Render/Blocks/RenderMudBrickRaw.java b/src/com/aleksey/decorations/Render/Blocks/RenderMudBrickRaw.java index 3fc37a5..ee36858 100644 --- a/src/com/aleksey/decorations/Render/Blocks/RenderMudBrickRaw.java +++ b/src/com/aleksey/decorations/Render/Blocks/RenderMudBrickRaw.java @@ -30,7 +30,7 @@ public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block b setBound(_bound, renderer); renderer.renderStandardBlock(block, x, y, z); - return false; + return true; } @Override