2022-03-17 16:16:52 -05:00

18 lines
373 B
Java

package io.github.simplex.crumb;
import org.bukkit.Bukkit;
public class SneakyWorker {
public static void sneakyTry(SneakyTry sneakyTry) {
try {
sneakyTry.tryThis();
} catch (Exception ex) {
Bukkit.getLogger().severe(ex.getMessage());
}
}
interface SneakyTry {
void tryThis() throws Exception;
}
}