From 1cc84f72419395e496ab6d06114cc5572a4f2283 Mon Sep 17 00:00:00 2001 From: Ryder Belserion Date: Mon, 22 Jul 2024 22:18:38 -0400 Subject: [PATCH] no longer add displaydata content to items section on crates reload --- CHANGELOG.md | 5 ++++- .../badbones69/crazycrates/tasks/crates/CrateManager.java | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bee25db6b..761715c94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,4 +3,7 @@ ```yml Items: - 'Item:spawner, Glowing:true' -``` \ No newline at end of file +``` + +### Changes: +- No longer add the contents of `DisplayData` to the `Items` section on `/crazycrates reload` \ No newline at end of file diff --git a/src/main/java/com/badbones69/crazycrates/tasks/crates/CrateManager.java b/src/main/java/com/badbones69/crazycrates/tasks/crates/CrateManager.java index 132c04525..2ccf03a2c 100644 --- a/src/main/java/com/badbones69/crazycrates/tasks/crates/CrateManager.java +++ b/src/main/java/com/badbones69/crazycrates/tasks/crates/CrateManager.java @@ -339,7 +339,7 @@ public void loadCrates() { } } - if (prizeSection.contains("DisplayData")) { + /*if (prizeSection.contains("DisplayData")) { if (prizeSection.contains("Items")) { final List list = prizeSection.getStringList("Items"); @@ -357,7 +357,7 @@ public void loadCrates() { customFile.save(); } - } + }*/ prizes.add(new Prize(prizeSection, tierPrizes, crateName, alternativePrize)); }