mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Check isEmpty for sign color
This commit is contained in:
parent
3303434d52
commit
da858f2131
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user