Skip to content

Commit

Permalink
Creeping Nether support fixed (?)
Browse files Browse the repository at this point in the history
This will definitely need testing, but it *should* work in theory
  • Loading branch information
ZombieHDGaming committed Apr 17, 2019
1 parent b83e46f commit 58ec790
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.dimdev.jeid.mixin.modsupport.creepingnether;

import com.cutievirus.creepingnether.entity.EntityPortal;
import com.cutievirus.creepingnether.entity.CorruptorAbstract;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import net.minecraft.world.biome.Biome;
Expand All @@ -12,10 +12,13 @@
import org.spongepowered.asm.mixin.Shadow;

@Pseudo
@Mixin(EntityPortal.class)
public class MixinEntityPortal {
@Mixin(CorruptorAbstract.class)
public class MixinCorruptorAbstract {
@Shadow private static Biome toBiome;

/**
* This should(?) fix Creeping Nether issues
*/
@Overwrite(remap = false)
public static void corruptBiome(World world, BlockPos pos) {
if (world.isBlockLoaded(pos)) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/mixins.jeid.modsupport.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"biomesoplenty.MixinBOPCommand",
"biomesoplenty.MixinModBiomes",
"bookshelf.MixinWorldUtils",
"creepingnether.MixinEntityPortal",
"creepingnether.MixinCorruptorAbstract",
"cyclopscore.MixinWorldHelpers",
"extrautils2.MixinBiomeManip",
"geographicraft.MixinDimensionManager",
Expand Down

0 comments on commit 58ec790

Please sign in to comment.