From da858f2131b17c5db43ff4243e6ac65848132e27 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Mon, 29 Jul 2019 05:07:46 +1000 Subject: [PATCH] Check isEmpty for sign color --- .../java/com/boydti/fawe/bukkit/wrapper/state/AsyncSign.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/wrapper/state/AsyncSign.java b/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/wrapper/state/AsyncSign.java index 74b4927e4..3e7b72fd3 100644 --- a/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/wrapper/state/AsyncSign.java +++ b/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/wrapper/state/AsyncSign.java @@ -80,7 +80,7 @@ public class AsyncSign extends AsyncBlockState implements Sign { CompoundTag nbt = getNbtData(); if (nbt != null) { String color = nbt.getString("Color").toUpperCase(); - return DyeColor.valueOf(color); + if (!color.isEmpty()) return DyeColor.valueOf(color); } return DyeColor.BLACK; }