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