diff options
author | makamys <makamys@outlook.com> | 2022-06-09 13:01:33 +0200 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2022-06-09 13:01:33 +0200 |
commit | 1cb15f76be86920af5dde287ca6403b5657145ea (patch) | |
tree | eddf7030e41e6de2005174aa2342f36d64e5b3fb /src/main/java/makamys/neodymium/mixin/MixinRenderBlocks.java | |
parent | 5bea63de0d78487b91dd701a8f6931b9314f2be5 (diff) | |
download | Neodymium-1cb15f76be86920af5dde287ca6403b5657145ea.tar.gz Neodymium-1cb15f76be86920af5dde287ca6403b5657145ea.tar.bz2 Neodymium-1cb15f76be86920af5dde287ca6403b5657145ea.zip |
Rebrand pt.2: Rename things in code
Diffstat (limited to 'src/main/java/makamys/neodymium/mixin/MixinRenderBlocks.java')
-rw-r--r-- | src/main/java/makamys/neodymium/mixin/MixinRenderBlocks.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/makamys/neodymium/mixin/MixinRenderBlocks.java b/src/main/java/makamys/neodymium/mixin/MixinRenderBlocks.java index 0f8ff41..fdfbe65 100644 --- a/src/main/java/makamys/neodymium/mixin/MixinRenderBlocks.java +++ b/src/main/java/makamys/neodymium/mixin/MixinRenderBlocks.java @@ -6,7 +6,7 @@ import org.spongepowered.asm.mixin.injection.Redirect; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; -import makamys.neodymium.LODMod; +import makamys.neodymium.Neodymium; import makamys.neodymium.renderer.FarChunkCache; import net.minecraft.block.Block; import net.minecraft.client.renderer.RenderBlocks; @@ -19,8 +19,8 @@ abstract class MixinRenderBlocks { @Redirect(method = "renderBlockLiquid", at = @At(value = "INVOKE", target = "Lnet/minecraft/block/Block;shouldSideBeRendered(Lnet/minecraft/world/IBlockAccess;IIII)Z")) public boolean shouldSideBeRendered(Block block, IBlockAccess ba, int x, int y, int z, int w) { - if(LODMod.isActive()) { - return LODMod.renderer.shouldSideBeRendered(block, ba, x, y, z, w); + if(Neodymium.isActive()) { + return Neodymium.renderer.shouldSideBeRendered(block, ba, x, y, z, w); } else { return block.shouldSideBeRendered(ba, x, y, z, w); } |