mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-26 22:03:12 +00:00
Add Mixin Config
This commit is contained in:
1 parent
54d442ed90
commit
1400967c10
3 files changed
+9
-5
No files matched your search
@@ -1,5 +1,6 @@
|
||||
package noppes.npcs.mixin;
|
||||
|
||||
import noppes.npcs.CustomNpcs;
|
||||
import org.spongepowered.asm.lib.tree.ClassNode;
|
||||
import org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin;
|
||||
import org.spongepowered.asm.mixin.extensibility.IMixinInfo;
|
||||
@@ -32,9 +33,9 @@ public class CustomNPCsMixinPlugin implements IMixinConfigPlugin {
|
||||
@Override
|
||||
public List<String> getMixins() {
|
||||
List<String> mixins = new ArrayList<>();
|
||||
|
||||
mixins.add("MixinEntityRenderer");
|
||||
|
||||
if (CustomNpcs.EntityRendererMixin){
|
||||
mixins.add("MixinEntityRenderer");
|
||||
}
|
||||
return mixins;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user