Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
reobf committed Jan 15, 2025
1 parent 9e5a4e4 commit 397f825
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
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;
Expand Down Expand Up @@ -193,8 +194,10 @@ public boolean handleDragNDrop(GuiContainer gui, int mouseX, int mouseY, ItemSta
}

if (NEEConfig.enableNEIDragDrop) {
if (gui instanceof AEBaseGui
&& !gui.getClass().getName().contains("com.glodblock.github.client.gui.GuiLevelMaintainer")) {
if (Loader.isModLoaded("ae2fc") && gui instanceof GuiLevelMaintainer) {
return false;
}
if (gui instanceof AEBaseGui) {
if (draggedStack != null) {
Slot currentSlot = gui.getSlotAtPosition(mouseX, mouseY);
if (currentSlot instanceof SlotFake) {
Expand Down

0 comments on commit 397f825

Please sign in to comment.