aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/dev/mayaqq/ygasi/gui/ConfigGui.java
diff options
context:
space:
mode:
authorMaximusbarcz <maxim.baranek@gmail.com>2023-01-20 23:06:47 +0100
committerMaximusbarcz <maxim.baranek@gmail.com>2023-01-20 23:06:47 +0100
commitadaecef7df47ccdbfbda6f438c28696ff1ce8822 (patch)
tree46397c9d175ca67a69b7033189fec26dd6c6b4ae /src/main/java/dev/mayaqq/ygasi/gui/ConfigGui.java
parent531bb27e7eb07e08e1e423d0cf01c297fef890f6 (diff)
downloadygasi-adaecef7df47ccdbfbda6f438c28696ff1ce8822.tar.gz
ygasi-adaecef7df47ccdbfbda6f438c28696ff1ce8822.tar.bz2
ygasi-adaecef7df47ccdbfbda6f438c28696ff1ce8822.zip
I redid all the advancements and also started work on the second Offence2 ability
Diffstat (limited to 'src/main/java/dev/mayaqq/ygasi/gui/ConfigGui.java')
-rw-r--r--src/main/java/dev/mayaqq/ygasi/gui/ConfigGui.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/dev/mayaqq/ygasi/gui/ConfigGui.java b/src/main/java/dev/mayaqq/ygasi/gui/ConfigGui.java
index bfd3e23..eecd65a 100644
--- a/src/main/java/dev/mayaqq/ygasi/gui/ConfigGui.java
+++ b/src/main/java/dev/mayaqq/ygasi/gui/ConfigGui.java
@@ -58,8 +58,7 @@ public class ConfigGui {
.setCallback((index, clickType, actionType) -> {
ConfigRegistry.CONFIG.enableSkillBook = !ConfigRegistry.CONFIG.enableSkillBook;
player.playSound(SoundEvent.of(click), SoundCategory.PLAYERS, 1.0F, 1.0F);
- gui.close();
- gui(player, false);
+ gui(player, fromBranch);
})
);