package info.u_team.u_team_core.intern.asm;

import info.u_team.u_team_core.container.UContainerMenu;
import net.minecraft.server.level.ServerPlayer;
import net.minecraft.world.inventory.AbstractContainerMenu;

public class ASMUContainerMenuHook {
	
	/**
	 * Called from asm core mod
	 */
	public static void hook(AbstractContainerMenu menu, ServerPlayer player) {
		if (menu instanceof UContainerMenu uContainerMenu) {
			uContainerMenu.initMenu(player);
		}
	}
	
}

@@ -276,16 +276,46 @@
 core mod
+ (ucontainermenu-init-menu.js)
 %0A%09 */%0A%09p

Add comment with file