mirror of
https://github.com/cabaletta/baritone
synced 2024-12-18 13:15:13 +00:00
fix
This commit is contained in:
parent
35a7d5d818
commit
2fdcf8640d
@ -9,7 +9,8 @@ import java.util.function.Supplier;
|
||||
public final class Utils {
|
||||
|
||||
public static void ifConditionThen(Supplier<Boolean> condition, Runnable runnable) {
|
||||
if (condition.get())
|
||||
if (condition.get()) {
|
||||
runnable.run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user