mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-11-30 06:33:27 +01:00
fixed shift-right-click shortcut after paperspigot fix
This commit is contained in:
parent
e6d82fc70c
commit
62908e620d
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user