aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/moe/nea/firmament/init/MixinPlugin.java2
-rw-r--r--src/main/java/moe/nea/firmament/mixins/MixinDrawContext.java2
-rw-r--r--src/main/kotlin/moe/nea/firmament/events/FirmamentEvent.kt4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/moe/nea/firmament/init/MixinPlugin.java b/src/main/java/moe/nea/firmament/init/MixinPlugin.java
index 663c9d9..7d979ae 100644
--- a/src/main/java/moe/nea/firmament/init/MixinPlugin.java
+++ b/src/main/java/moe/nea/firmament/init/MixinPlugin.java
@@ -18,6 +18,7 @@
package moe.nea.firmament.init;
+import com.llamalad7.mixinextras.MixinExtrasBootstrap;
import org.objectweb.asm.tree.ClassNode;
import org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin;
import org.spongepowered.asm.mixin.extensibility.IMixinInfo;
@@ -29,6 +30,7 @@ public class MixinPlugin implements IMixinConfigPlugin {
@Override
public void onLoad(String mixinPackage) {
+ MixinExtrasBootstrap.init();
}
@Override
diff --git a/src/main/java/moe/nea/firmament/mixins/MixinDrawContext.java b/src/main/java/moe/nea/firmament/mixins/MixinDrawContext.java
deleted file mode 100644
index a30eb11..0000000
--- a/src/main/java/moe/nea/firmament/mixins/MixinDrawContext.java
+++ /dev/null
@@ -1,2 +0,0 @@
-package moe.nea.firmament.mixins;public class MixinDrawContext {
-}
diff --git a/src/main/kotlin/moe/nea/firmament/events/FirmamentEvent.kt b/src/main/kotlin/moe/nea/firmament/events/FirmamentEvent.kt
index 5da47ed..161c4c2 100644
--- a/src/main/kotlin/moe/nea/firmament/events/FirmamentEvent.kt
+++ b/src/main/kotlin/moe/nea/firmament/events/FirmamentEvent.kt
@@ -24,8 +24,8 @@ package moe.nea.firmament.events
* Typically, that event bus is implemented as a companion object
*
* ```
- * class SomeEvent : NEUEvent() {
- * companion object : NEUEventBus<SomeEvent>()
+ * class SomeEvent : FirmamentEvent() {
+ * companion object : FirmamentEventBus<SomeEvent>()
* }
* ```
*/