Fix neoforge running in release

This commit is contained in:
James Seibel
2024-12-28 13:45:17 -06:00
parent b8bad9b6bf
commit 43caa2a55c
2 changed files with 5 additions and 3 deletions
@@ -3,6 +3,7 @@ package com.seibel.distanthorizons.fabric.mixins.server;
#if MC_VER < MC_1_21_3
import net.minecraft.Util;
import net.minecraft.world.entity.Entity;
import org.spongepowered.asm.mixin.Mixin;
@@ -13,7 +14,7 @@ import org.spongepowered.asm.mixin.Mixin;
* @see MixinUtilBackgroundThread
*/
//@Mixin(net.minecraft.minecraft.class) // TODO we should allow version specific mixins so we don't have to create dummy mixins that exist for all MC versions
@Mixin(Entity.class)
@Mixin(Util.class)
public class MixinLevelTicks
{
@@ -1,8 +1,9 @@
package com.seibel.distanthorizons.fabric.mixins.server;
package com.seibel.distanthorizons.neoforge.mixins.server;
#if MC_VER < MC_1_21_3
import net.minecraft.Util;
import org.spongepowered.asm.mixin.Mixin;
/**
@@ -11,7 +12,7 @@ import org.spongepowered.asm.mixin.Mixin;
*
* @see MixinUtilBackgroundThread
*/
//@Mixin(net.minecraft.miminecraft.class) // TODO we should allow version specific mixins so we don't have to create dummy mixins that exist for all MC versions
@Mixin(Util.class) // TODO we should allow version specific mixins so we don't have to create dummy mixins that exist for all MC versions
public class MixinLevelTicks<T>
{