Skip to content

Commit

Permalink
Update MCPitanLib
Browse files Browse the repository at this point in the history
  • Loading branch information
Su5eD committed Aug 7, 2024
1 parent 4a2455e commit 63285ad
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ dependencies {
includeProject("pehkui-bridge")

// Misc
modImplementation("curse.maven:mcpitanlibarch-682213:4723157")
modImplementation("curse.maven:mcpitanlibarch-682213:5531565")
}

fun DependencyHandlerScope.includeProject(name: String) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

import dev.su5ed.sinytra.connectorextras.modmenu.ModMenuCompatSetup;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.RunArgs;
import net.minecraft.client.realms.RealmsClient;
import net.minecraft.resource.ResourceReload;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
Expand All @@ -14,7 +11,7 @@
public class MinecraftMixin {

@Inject(method = "lambda$new$7", at = @At("HEAD"))
private void initModMenuCompat(RealmsClient realmsclient, ResourceReload reloadinstance, RunArgs arg, CallbackInfo ci) {
private void initModMenuCompat(CallbackInfo ci) {
ModMenuCompatSetup.init();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Dummy mod provided by Connector Extras to allow mods detecting ModMenu to functi
[[mixins]]
config="mixins.connectorextras_modmenu_bridge.json"
[[dependencies.connectorextras_modmenu_bridge]]
modId="forge"
modId="neoforge"
mandatory=true
versionRange="*"
ordering="NONE"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class ConnectorExtras {

public ConnectorExtras(IEventBus bus) {
if (ModList.get().isLoaded("mcpitanlibarch")) {
// MCPitanLibBridge.init(bus);
MCPitanLibBridge.init(bus);
}
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package dev.su5ed.sinytra.connectorextras.misc;

import ml.pkom.mcpitanlibarch.api.item.CreativeTabManager;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent;
import net.pitan76.mcpitanlib.api.item.CreativeTabManager;

public final class MCPitanLibBridge {

Expand Down

0 comments on commit 63285ad

Please sign in to comment.