mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-12-02 15:43:22 +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;
|
break;
|
||||||
case SHIFT_RIGHT:
|
case SHIFT_RIGHT:
|
||||||
if(plugin.getConfig().getBoolean("hotkeys.shift-right-click")) {
|
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;
|
sort=true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user