From 64bc52c77fe446c01395412fd1ee6cef9920b0c2 Mon Sep 17 00:00:00 2001 From: szymon Date: Wed, 29 Jul 2020 20:05:55 +0200 Subject: [PATCH] Repaired #30 --- src/main/java/net/szum123321/textile_backup/core/Utilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/szum123321/textile_backup/core/Utilities.java b/src/main/java/net/szum123321/textile_backup/core/Utilities.java index 61f18df..91e5173 100644 --- a/src/main/java/net/szum123321/textile_backup/core/Utilities.java +++ b/src/main/java/net/szum123321/textile_backup/core/Utilities.java @@ -104,7 +104,7 @@ public class Utilities { } public static void info(String s, ServerCommandSource ctx){ - if(ctx != null) + if(ctx != null && ctx.getEntity() != null) ctx.sendFeedback(new LiteralText(s), false); if(TextileBackup.config.log)