aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/utils/ExecutorUtil.java
blob: 3a7bd63070cc2caedd668e691677dca07c21be50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Roughly Enough Items by Danielshe.
 * Licensed under the MIT License.
 */

package me.shedaniel.rei.utils;

import java.util.function.Supplier;

@Deprecated
public class ExecutorUtil {
    private ExecutorUtil() {
    }

    public static void execute(Supplier<Runnable> runnableSupplier) {
        runnableSupplier.get().run();
    }
}