From fa10646d8f2694f03ad861cafff55651592a02a2 Mon Sep 17 00:00:00 2001 From: alemi Date: Sat, 18 Mar 2023 22:09:22 +0100 Subject: feat: allow format directly into log --- src/main/java/ftbsc/bscv/Boscovicino.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/main/java/ftbsc/bscv/Boscovicino.java b/src/main/java/ftbsc/bscv/Boscovicino.java index 90dc5b4..65c5830 100644 --- a/src/main/java/ftbsc/bscv/Boscovicino.java +++ b/src/main/java/ftbsc/bscv/Boscovicino.java @@ -66,6 +66,10 @@ public class Boscovicino implements ICommons { MinecraftForge.EVENT_BUS.register(this); } + public static void log(String message, Object... args) { + log(String.format(message, args)); + } + public static void log(String message) { LOGGER.info(message); if (MC.player != null) { -- cgit v1.2.3-56-ga3b1