Skip to content

Commit 2706589

Browse files
Bump version
1 parent 381cdc0 commit 2706589

File tree

3 files changed

+5
-29
lines changed

3 files changed

+5
-29
lines changed

changelog.md

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,4 @@
1-
## Changes
2-
- Added missing blocks to BlockList.yml [#885](https://github.com/Crazy-Crew/CrazyEnchantments/pull/885)
3-
- Added a check to BlackSmith to ensure conflicting enchants can't be combined [#891](https://github.com/Crazy-Crew/CrazyEnchantments/pull/891)
4-
- Update limit info command [#892](https://github.com/Crazy-Crew/CrazyEnchantments/pull/892)
5-
- Added the ability to define enchant conflicts (You must add the config options below to your configuration to make use of this.)
6-
- https://github.com/Crazy-Crew/CrazyEnchantments/blob/035e4258c63e32173b8a380fb9b91f79b5059f91/paper/src/main/resources/Messages.yml#L14
7-
- https://github.com/Crazy-Crew/CrazyEnchantments/blob/a6d2031688eb6457943660bd59f87c63cf9b5c3b/paper/src/main/resources/Enchantments.yml#L1802
8-
- https://github.com/Crazy-Crew/CrazyEnchantments/blob/a6d2031688eb6457943660bd59f87c63cf9b5c3b/paper/src/main/resources/Enchantments.yml#L1826
9-
- Improved performance heavily by removing a fair chunk of reliance on ItemMeta.
10-
- Added better logging if things we need are missing.
11-
- Removed oraxen deprecated durability checks.
12-
- Replace the `Metrics` class with bStats shaded.
13-
- Remove pre-process command event for /heal or /ci.
14-
- Update folia support/
15-
16-
## New Enchantments
17-
- TreeFeller
18-
19-
You must add the new config options to each file.
20-
21-
https://github.com/Crazy-Crew/CrazyEnchantments/blob/3ed037006265a1b9192ecd45083ec5612453d804/paper/src/main/resources/Enchantments.yml#L696
22-
https://github.com/Crazy-Crew/CrazyEnchantments/blob/3ed037006265a1b9192ecd45083ec5612453d804/paper/src/main/resources/Tinker.yml#L151
23-
https://github.com/Crazy-Crew/CrazyEnchantments/blob/3ed037006265a1b9192ecd45083ec5612453d804/paper/src/main/resources/config.yml#L295
24-
251
## Fixes
26-
- Fixed an issue where blast worked based on the tool used to click, now it works based on the tool used when the block is broken. [#893](https://github.com/Crazy-Crew/CrazyEnchantments/pull/893)
27-
- Fixed an issue with loot drop height [#889](https://github.com/Crazy-Crew/CrazyEnchantments/pull/889)
28-
- Fixed an NPE on startup if player field is not found in the config files.
2+
- Fixed an issue on startup where config#getString("Player") was null
3+
- getStringList() returns an empty list, but getString() throws an NPE, rather than an empty String.
4+
- The solution was `config#getString("Player", "")` which is so very amusing.

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
crazyenchantments = "2.6.0"
2+
crazyenchantments = "2.6.1"
33

44
# Minecraft
55
minecraft = "1.21.7"

paper/src/main/java/com/badbones69/crazyenchantments/paper/api/enums/ShopOption.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public static void loadShopOptions() {
6060
.setName(config.getString(itemPath + shopOption.getNamePath(), "Error getting name."))
6161
.setLore(config.getStringList(itemPath + shopOption.getLorePath()))
6262
.setMaterial(config.getString(itemPath + "Item", "CHEST"))
63-
.setPlayerName(config.getString(itemPath + "Player"))
63+
.setPlayerName(config.getString(itemPath + "Player", ""))
6464
.setGlow(config.getBoolean(itemPath + "Glowing", false)),
6565
config.getInt(itemPath + "Slot", 1) - 1,
6666
config.getBoolean(itemPath + "InGUI", true),

0 commit comments

Comments
 (0)