Releases
v2.2.8
Contributors:
@TrueDarkLord
Changes
The order in which enchantments are added at the start of the list instead of the end. d45e11c
Added a config option to be able to change the amount that damage is scaled by for Rage. 61d3817
Added new messages for give/getting slot crystals as they just used the ones for protection crystals. 21b9c23
Additions
Added a new command, /ce slotcrystal [amount] [player]
with tab completion and default permissions. b7a3a8d
The permission is crazyenchantments.slotcrystal
Enhancements
Performance
Increase performance by reducing getItemMeta calls when necessary.
Increase performance by reducing the getItemMeta calls and not creating full item stacks then comparing the objects. db0ef3c
Store uuid in the remaining arraylist's instead of player objects. c9666a8
Change a larger part of each of the events over to running async and then directly merge it into the main thread instead of having a queue that merges it. 2c4a0e7
Other
Properly remove items from inventory when necessary. setItem
contains a nullable field so no need to create a new ItemStack
Clean up checking if books can be combined in the blacksmith gui. aa6f6d
Converted all inventory menus to use InventoryHolders as to not rely on name checks anymore.
Improve the loop in tinkerer/filemanager by using the Map#Entry
Change level check over to getting values from a hashmap instead of pulling all data from the item for every check. 9300b64
Add a check to ensure the player's inventory is not full before trying to give an item. abd8024
Remove the unused data that was added to failed dust to make it so that they can be stacked. 68f8c50
Added null safety or default values to notify you gracefully that something is broken. c725268
Updated firework damage prevention by using the new API from Spigot Upstream. 3d59ab9
A player opped should always be able to use the enchants. 654c2fb
Properly remove dust/scrolls or scramblers from inventory with reduced item meta checks as well. bde17b1
Add ore information to /ce limit to help users understand what all the current limits are. dffb151
Remove the copy and paste of blast block list being checked for vein miner blocks to see if they are a valid block that can be broken. 6f4f444
A general list of changes. d4ae91f
Misc
Cleaned up the buildscript, Updated typos, cleaned up imports, refactored a chunk of the project around for better organization.
Plugin Support
Switch towny check to check if players are in the same town or are allied instead of checking for player damage. edd385
Spartan
is no longer supported in CrazyEnchantments and will not be added back.
Fixes:
Fixed EntityDamageEvent
calls by using direct entity instead of causing entity ba67c2f
Fixed a method in ItemBuilder being outdated aba4ff2
Fixed an issue where entity checks weren't on the main thread. 1a3716
Fixed an issue where we were checking off-hand twice with scrambler. 4ae5914
Fixed an issue with potion effects on armor enchants. bd7026b
Fixed an issue where we used the wrong enchant, Vampire was supposed to be used yet Viper was. ef1bdd4
Fixed entity damage code due to Spigot's changes related to EntityDamageByEntityEvent. 1f9ecd9
Fixed an npe with bow enchantments. d928492
Fixed hellforged not working for items in main/offhand. f022576
Fixed the command order in which the args were in to apply the correct level. b5cbf5c
Fixed command feedback for /ce give, so it sends the proper format. 79b8bf0
Fixed event priorities to allow us to get the last say. 352f9ca
Makes it so that all armor effects are re-applied after the totem takes them away. 163e296
A large amount of issues fixed d4ae91f
Fix mistakes in the default config.
Fix item names being set to "" when there is no name set.
Fix players in spectator mode with wings not being able to fly.
Fix telepathy not being able to work on stairs.
TempFix factions errors caused by forks.
Fix Aura enchants not working.
Fixed GKitz timer not displaying time in the correct format.
Fix random enchantment level.
Other:
You can’t perform that action at this time.