aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle6
-rw-r--r--src/main/java/me/djtheredstoner/perspectivemod/forge/PerspectiveModLoadingPlugin.java2
-rw-r--r--src/main/resources/mixins.djperspectivemod.json (renamed from src/main/resources/mixins.perspectivemod.json)2
3 files changed, 8 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index 3f4ddcb..c4a3739 100644
--- a/build.gradle
+++ b/build.gradle
@@ -78,6 +78,12 @@ shadowJar {
reobfJar.dependsOn tasks.shadowJar
+reobf {
+ shadowJar {
+ mappingType = 'SEARGE'
+ }
+}
+
processResources
{
// this will ensure that this task is redone when the versions change.
diff --git a/src/main/java/me/djtheredstoner/perspectivemod/forge/PerspectiveModLoadingPlugin.java b/src/main/java/me/djtheredstoner/perspectivemod/forge/PerspectiveModLoadingPlugin.java
index 7eecf46..c54efd7 100644
--- a/src/main/java/me/djtheredstoner/perspectivemod/forge/PerspectiveModLoadingPlugin.java
+++ b/src/main/java/me/djtheredstoner/perspectivemod/forge/PerspectiveModLoadingPlugin.java
@@ -12,7 +12,7 @@ public class PerspectiveModLoadingPlugin implements IFMLLoadingPlugin {
public PerspectiveModLoadingPlugin() {
MixinBootstrap.init();
- Mixins.addConfiguration("mixins.perspectivemod.json");
+ Mixins.addConfiguration("mixins.djperspectivemod.json");
}
@Override
diff --git a/src/main/resources/mixins.perspectivemod.json b/src/main/resources/mixins.djperspectivemod.json
index f307ca6..1ecb9ea 100644
--- a/src/main/resources/mixins.perspectivemod.json
+++ b/src/main/resources/mixins.djperspectivemod.json
@@ -2,7 +2,7 @@
"required": true,
"minVersion": "0.7.10",
"package": "me.djtheredstoner.perspectivemod.mixins",
- "refmap": "mixins.perspectivemod.refmap.json",
+ "refmap": "mixins.djperspectivemod.refmap.json",
"target": "@env(DEFAULT)",
"compatibilityLevel": "JAVA_8",
"mixins": [