Skip to content

Commit

Permalink
sticky buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
liamgiraldo committed Jul 23, 2024
1 parent 770b397 commit 578049a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/main/java/me/liamgiraldo/litebridge/models/GUIModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,11 @@ public GUIModel(Litebridge plugin, ArrayList<GameModel> games, ArrayList<QueueMo
mapmenu.setButton(0, 53, randomq);
mapmenu.setButton(0, 51, refreshbutton);

mapmenu.stickSlot(49);
mapmenu.stickSlot(45);
mapmenu.stickSlot(53);
mapmenu.stickSlot(51);

//TODO: There has to be a better way to do this
plugin.getSpiGUI().setBlockDefaultInteractions(false);
bridgemainmenu.setBlockDefaultInteractions(true);
Expand Down
Binary file modified target/classes/me/liamgiraldo/litebridge/models/GUIModel.class
Binary file not shown.
2 changes: 1 addition & 1 deletion target/maven-archiver/pom.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Generated by Maven
#Sun Jul 21 20:43:05 PDT 2024
#Tue Jul 23 10:57:24 PDT 2024
groupId=me.liamgiraldo
artifactId=litebridge
version=0.0.1-SNAPSHOT
Binary file modified target/original-litebridge-0.0.1-SNAPSHOT.jar
Binary file not shown.

0 comments on commit 578049a

Please sign in to comment.