diff --git a/src/client/java/permdog99/steam_integration/mixin/client/ExampleClientMixin.java b/src/client/java/permdog99/steam_integration/mixin/client/ExampleClientMixin.java index 62c03b5..f3575a0 100644 --- a/src/client/java/permdog99/steam_integration/mixin/client/ExampleClientMixin.java +++ b/src/client/java/permdog99/steam_integration/mixin/client/ExampleClientMixin.java @@ -1,12 +1,12 @@ package permdog99.steam_integration.mixin.client; -import net.minecraft.client.MinecraftClient; +import net.minecraft.client.Minecraft; 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(MinecraftClient.class) +@Mixin(Minecraft.class) public class ExampleClientMixin { @Inject(at = @At("HEAD"), method = "run") private void run(CallbackInfo info) { diff --git a/src/main/java/permdog99/steam_integration/mixin/ExampleMixin.java b/src/main/java/permdog99/steam_integration/mixin/ExampleMixin.java index f8e939d..c18df8d 100644 --- a/src/main/java/permdog99/steam_integration/mixin/ExampleMixin.java +++ b/src/main/java/permdog99/steam_integration/mixin/ExampleMixin.java @@ -8,7 +8,7 @@ @Mixin(MinecraftServer.class) public class ExampleMixin { - @Inject(at = @At("HEAD"), method = "loadWorld") + @Inject(at = @At("HEAD"), method = "loadLevel") private void init(CallbackInfo info) { // This code is injected into the start of MinecraftServer.loadWorld()V } diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 0306120..1adf017 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -8,7 +8,7 @@ "Permdog99" ], "contact": { - "homepage": "https://modrinth.com/", + "homepage": "https://modrinth.com/mod/steam-integration", "sources": "https://github.com/Permdog99/MC-Steam-Integration" }, "license": "PolyForm Shield License 1.0.0",