aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/hype/bbsentials/client/BBsentials.java
diff options
context:
space:
mode:
authorHacktheTime <l4bg0jb7@duck.com>2023-08-10 15:56:56 +0200
committerHacktheTime <l4bg0jb7@duck.com>2023-08-10 15:56:56 +0200
commit705aab052f99f0823329b6179a6ed3cd9368a968 (patch)
tree156d068a1444dd31de47d4170bf9a4e69d457f1b /src/main/java/de/hype/bbsentials/client/BBsentials.java
parent2cd5f8e6bd42a084022028adcc24ef566fddab95 (diff)
downloadBBsentials-705aab052f99f0823329b6179a6ed3cd9368a968.tar.gz
BBsentials-705aab052f99f0823329b6179a6ed3cd9368a968.tar.bz2
BBsentials-705aab052f99f0823329b6179a6ed3cd9368a968.zip
cleaned up code
Diffstat (limited to 'src/main/java/de/hype/bbsentials/client/BBsentials.java')
-rw-r--r--src/main/java/de/hype/bbsentials/client/BBsentials.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/hype/bbsentials/client/BBsentials.java b/src/main/java/de/hype/bbsentials/client/BBsentials.java
index 596d194..66807a0 100644
--- a/src/main/java/de/hype/bbsentials/client/BBsentials.java
+++ b/src/main/java/de/hype/bbsentials/client/BBsentials.java
@@ -149,7 +149,8 @@ public class BBsentials implements ClientModInitializer {
List<String> variableNames;
variableNames = List.of(getVariableInfo("de.hype.bbsentials.client", "Config"));
return CommandSource.suggestMatching(variableNames, builder);
- }).executes((context) -> {
+ })
+ .executes((context) -> {
// Handle "variableName" and "variableValue" logic here
String variableName = StringArgumentType.getString(context, "variableName");
try {