From 62908e620d586b00645a28a639a6e333c6a43ecd Mon Sep 17 00:00:00 2001 From: mfnalex <1122571+mfnalex@users.noreply.github.com> Date: Tue, 16 Jul 2019 23:24:09 +0200 Subject: [PATCH] fixed shift-right-click shortcut after paperspigot fix --- .../java/de/jeffclan/JeffChestSort/JeffChestSortListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/jeffclan/JeffChestSort/JeffChestSortListener.java b/src/main/java/de/jeffclan/JeffChestSort/JeffChestSortListener.java index e06c2cd..c3f2804 100644 --- a/src/main/java/de/jeffclan/JeffChestSort/JeffChestSortListener.java +++ b/src/main/java/de/jeffclan/JeffChestSort/JeffChestSortListener.java @@ -320,7 +320,7 @@ public class JeffChestSortListener implements Listener { break; case SHIFT_RIGHT: if(plugin.getConfig().getBoolean("hotkeys.shift-right-click")) { - if(event.getCurrentItem() == null || ( event.getCurrentItem() == null && event.getCurrentItem().getType() == Material.AIR)) { + if(event.getCurrentItem() == null || ( event.getCurrentItem() != null && event.getCurrentItem().getType() == Material.AIR)) { sort=true; } }