Skip to content

Commit

Permalink
add default blank to display data
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderbelserion committed Sep 5, 2024
1 parent 6c11247 commit 2fc40dd
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import com.ryderbelserion.vital.paper.util.ItemUtil;
import me.clip.placeholderapi.PlaceholderAPI;
import net.kyori.adventure.text.serializer.plain.PlainTextComponentSerializer;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;
Expand Down Expand Up @@ -293,7 +292,7 @@ public void broadcast(final Crate crate) {

try {
if (this.section.contains("DisplayData")) {
builder = builder.fromBase64(this.section.getString("DisplayData"));
builder = builder.fromBase64(this.section.getString("DisplayData", ""));
}

if (this.section.contains("DisplayName")) {
Expand Down

0 comments on commit 2fc40dd

Please sign in to comment.