From 8533e28785520f19783e9454efa935d2d9076b6a Mon Sep 17 00:00:00 2001 From: bundabrg Date: Mon, 1 Jun 2020 18:35:57 +0800 Subject: [PATCH] When a color can't be translated set to NONE instead of null --- .../github/steveice10/mc/protocol/data/message/ChatColor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/message/ChatColor.java b/src/main/java/com/github/steveice10/mc/protocol/data/message/ChatColor.java index e8e41b0e..45d92e9b 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/data/message/ChatColor.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/message/ChatColor.java @@ -28,7 +28,7 @@ public enum ChatColor { } } - return null; + return ChatColor.NONE; } @Override