do not handle GuiLevelMaintainer dragNdrop (#44)

This commit is contained in:
reobf authored and GitHub committed 2025-01-15 06:51:19 +00:00
1 parent 342d1822f7
commit b96a0beed9
1 file changed
+4
@@ -33,6 +33,7 @@ import com.github.vfyjxf.nee.network.packet.PacketSlotStackChange;
import com.github.vfyjxf.nee.network.packet.PacketStackCountChange;
import com.github.vfyjxf.nee.utils.GuiUtils;
import com.github.vfyjxf.nee.utils.ItemUtils;
import com.glodblock.github.client.gui.GuiLevelMaintainer;
import appeng.api.events.GuiScrollEvent;
import appeng.client.gui.AEBaseGui;
@@ -193,6 +194,9 @@ public class GuiEventHandler implements INEIGuiHandler {
}
if (NEEConfig.enableNEIDragDrop) {
if (Loader.isModLoaded("ae2fc") && gui instanceof GuiLevelMaintainer) {
return false;
}
if (gui instanceof AEBaseGui) {
if (draggedStack != null) {
Slot currentSlot = gui.getSlotAtPosition(mouseX, mouseY);