Skip to content

Commit

Permalink
no longer add displaydata content to items section on crates reload
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderbelserion committed Jul 23, 2024
1 parent b6b71c8 commit 1cc84f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
```yml
Items:
- 'Item:spawner, Glowing:true'
```
```
### Changes:
- No longer add the contents of `DisplayData` to the `Items` section on `/crazycrates reload`
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ public void loadCrates() {
}
}

if (prizeSection.contains("DisplayData")) {
/*if (prizeSection.contains("DisplayData")) {
if (prizeSection.contains("Items")) {
final List<String> list = prizeSection.getStringList("Items");
Expand All @@ -357,7 +357,7 @@ public void loadCrates() {
customFile.save();
}
}
}*/

prizes.add(new Prize(prizeSection, tierPrizes, crateName, alternativePrize));
}
Expand Down

0 comments on commit 1cc84f7

Please sign in to comment.