File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed
src/main/java/dev/felnull/bettergui Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 66
77 <groupId >dev.felnull</groupId >
88 <artifactId >BetterGUI</artifactId >
9- <version >1.0.5 </version >
9+ <version >1.0.6-SNAPSHOT </version >
1010 <packaging >jar</packaging >
1111
1212 <name >BetterGUI</name >
Original file line number Diff line number Diff line change @@ -59,4 +59,10 @@ public void onOutsideWindowRightClick(InventoryClickEvent e){}
5959 public void onOutsideWindowLeftClick (InventoryClickEvent e ){}
6060
6161 public void onOutsideWindowClick (InventoryClickEvent e ){}
62+
63+ public void onOutsideWindowRightShiftClick (InventoryClickEvent e ){}
64+
65+ public void onOutsideWindowLeftShiftClick (InventoryClickEvent e ){}
66+
67+ public void onOutsideWindowShiftClick (InventoryClickEvent e ){}
6268}
Original file line number Diff line number Diff line change @@ -79,6 +79,18 @@ public void onClick(InventoryClickEvent e){
7979 page .onOutsideWindowLeftClick (e );
8080 }
8181 break ;
82+ case SHIFT_RIGHT :
83+ if (e .getSlot () == -999 ){
84+ page .onOutsideWindowShiftClick (e );
85+ page .onOutsideWindowRightShiftClick (e );
86+ }
87+ break ;
88+ case SHIFT_LEFT :
89+ if (e .getSlot () == -999 ){
90+ page .onOutsideWindowShiftClick (e );
91+ page .onOutsideWindowLeftShiftClick (e );
92+ }
93+ break ;
8294 }
8395
8496 e .setCancelled (true );
You can’t perform that action at this time.
0 commit comments