Change load method to Loader's entrypoints (#497)
* Start moving away from noop mixins Remove the mixin from the json list * Change startup method to Loader entrypoints
This commit is contained in:
1 parent
05a0628530
commit
020866c0e9
4 files changed
+20
-21
No files matched your search
@@ -1,18 +0,0 @@
|
||||
package carpet.mixins;
|
||||
|
||||
import carpet.CarpetServer;
|
||||
import net.minecraft.util.crash.CrashReport;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
|
||||
@Mixin(CrashReport.class)
|
||||
public class CrashReport_coreMixin
|
||||
{
|
||||
@Inject(method = "initCrashReport", at = @At("RETURN"))
|
||||
private static void gameStarted(CallbackInfo ci)
|
||||
{
|
||||
CarpetServer.onGameStarted();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user