aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/utils/ExecutorUtil.java
blob: 174f4e5c33ef8448610d595dc75cee7a4f8bfcc3 (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();
    }
}