Skip to content

Commit 0188087

Browse files
committed
Make the mixin safer, smol refactor.
1 parent 8a94227 commit 0188087

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/main/java/codechicken/lib/internal/mixin/EmbeddiumCCLMixin.java renamed to src/main/java/codechicken/lib/internal/mixin/compat/EmbeddiumCCLMixin.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
package codechicken.lib.internal.mixin;
1+
package codechicken.lib.internal.mixin.compat;
22

33
import net.neoforged.fml.event.lifecycle.FMLClientSetupEvent;
44
import org.embeddedt.embeddium.compat.ccl.CCLCompat;
55
import org.spongepowered.asm.mixin.Mixin;
66
import org.spongepowered.asm.mixin.Overwrite;
7+
import org.spongepowered.asm.mixin.Pseudo;
78

89
/**
910
* Created by covers1624 on 2/7/25.
1011
*/
12+
@Pseudo
1113
@Mixin (CCLCompat.class)
12-
public class EmbeddiumCCLMixin {
14+
abstract class EmbeddiumCCLMixin {
1315

1416
/**
1517
* @author covers1624

src/main/resources/mixins.codechickenlib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
"ItemRendererMixin",
1111
"MinecraftMixin",
1212
"ShaderInstanceMixin",
13-
"EmbeddiumCCLMixin"
13+
"compat.EmbeddiumCCLMixin"
1414
]
1515
}

0 commit comments

Comments
 (0)