update GuiEventHandler

This commit is contained in:
vfyjxf committed 2022-01-31 20:11:35 +08:00
1 parent 8e48199839
commit 37f181a8bd
1 file changed
+1 -1
@@ -163,7 +163,7 @@ public class GuiEventHandler implements INEIGuiHandler {
@Override
public boolean handleDragNDrop(GuiContainer gui, int mouseX, int mouseY, ItemStack draggedStack, int button) {
//When NEIAddons exist, give them to NEIAddons to handle
if(NEEConfig.enableNEIDragNDrop || Loader.isModLoaded("NEIAddons")) {
if(NEEConfig.enableNEIDragNDrop || !Loader.isModLoaded("NEIAddons")) {
if (gui instanceof AEBaseGui) {
if (button != 2 && draggedStack != null) {
Slot currentSlot = gui.getSlotAtPosition(mouseX, mouseY);