aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/mixin/MixinChunkCache.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/makamys/neodymium/mixin/MixinChunkCache.java')
-rw-r--r--src/main/java/makamys/neodymium/mixin/MixinChunkCache.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/makamys/neodymium/mixin/MixinChunkCache.java b/src/main/java/makamys/neodymium/mixin/MixinChunkCache.java
index b4a7368..331e3cf 100644
--- a/src/main/java/makamys/neodymium/mixin/MixinChunkCache.java
+++ b/src/main/java/makamys/neodymium/mixin/MixinChunkCache.java
@@ -4,9 +4,9 @@ import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Redirect;
-import makamys.neodymium.LODMod;
+import makamys.neodymium.Neodymium;
import makamys.neodymium.renderer.FarChunkCache;
-import makamys.neodymium.renderer.LODRenderer;
+import makamys.neodymium.renderer.NeoRenderer;
import net.minecraft.world.ChunkCache;
import net.minecraft.world.World;
import net.minecraft.world.chunk.Chunk;
@@ -17,8 +17,8 @@ abstract class MixinChunkCache {
@Redirect(method = "<init>*", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/World;getChunkFromChunkCoords(II)Lnet/minecraft/world/chunk/Chunk;"))
private Chunk redirectGetChunkFromChunkCoords(World world, int p1, int p2) {
Chunk chunk = world.getChunkFromChunkCoords(p1, p2);
- if(LODMod.isActive() && FarChunkCache.class.isInstance(this.getClass()) && chunk.isEmpty()) {
- Chunk myChunk = LODMod.renderer.getChunkFromChunkCoords(p1, p2);
+ if(Neodymium.isActive() && FarChunkCache.class.isInstance(this.getClass()) && chunk.isEmpty()) {
+ Chunk myChunk = Neodymium.renderer.getChunkFromChunkCoords(p1, p2);
if(myChunk != null) {
chunk = myChunk;
}