mirror of
https://github.com/GTNewHorizons/NotEnoughEnergistics.git
synced 2026-11-19 11:49:09 +00:00
update GuiEventHandler
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user