Skip to content
This repository has been archived by the owner on Oct 24, 2020. It is now read-only.

Releases: Arnuh/ArmorEquipEvent

1.7.6-SNAPSHOT

06 Oct 02:57
Compare
Choose a tag to compare

Fixes "Player Head" not counting as a helmet #26
Doesn't call unequip on death if keep inventory is enabled #25

Specify api version of 1.14. Not sure if this works properly on pre 1.14 servers.

Is marked as pre-release/snapshot but is considered safe. It wont be considered a pre-release on github to avoid people downloading an outdated version.

1.7.4

25 Jan 22:53
Compare
Choose a tag to compare
1.7.4 Pre-release
Pre-release

Will be marked as pre-release for a bit to make sure no issues.

Added Elytra as a valid Chestplate
Fixed an issue in 1.7.3 due to PlayerInteractEvent having special handling for cancelling.

1.7.3

09 Dec 21:27
Compare
Choose a tag to compare
1.7.3 Pre-release
Pre-release

Fixes a few bugs and adds a bunch of newer Materials to the blocked list from 1.14

1.7.1

29 Jul 11:07
Compare
Choose a tag to compare

Continuation of the 1.7 branch but with a modified material > armor type conversion to support any version.

Might have the type return as LEGACY_ but that's not something I'll be modifying.

1.7.0

15 Jan 23:11
Compare
Choose a tag to compare
1.7.0 Pre-release
Pre-release

I'm hoping to make ArmorEquipEvent a reliable event without any issues and hopefully in the 1.7 releases I'll be able to do this.

In 1.7.0 I made a few changes with potentially more to come later after testing has been done.

I've added a method in ArmorListener that checks if an ItemStack is either null or air. This is important going forward since Spigot heavily favors the AIR material and is recommended to use over null. Later in 1.7 I'll also be removing ArmorEquipEvent returning null for ItemStacks at all and only use AIR as this will clean up checks and follow Spigots conventions.

I've also added a InventoryAction.NOTHING check to the top of InventoryClickEvent which will hopefully catch most 'false' clicks that are sent. This was suggested by SiezureSalad on Spigot.

Then for last change I made a slight change to how PICK_DROP is setup which should hopefully fix an incorrect ArmorType that was being sent(This might need more testing)

Another plan for ArmorEquipEvent is to remove the need for the "blockedMaterials" check but this is most likely farther down the line.

Support for InventoryDragEvent

08 Oct 22:46
Compare
Choose a tag to compare
Pre-release
  • Support InventoryDragEvent and use EquipMethod.DRAG
  • Count Pumpkin as a HELMET
  • Rename old EquipMethod.DRAG to EquipMethod.PICK_DROP

Currently a 'pre-release' since I haven't done much testing with this.

1.6.4

30 Aug 20:07
Compare
Choose a tag to compare

No clue what I changed, removed Dispenser code for now till I want to fix it.

Apparently 14 commits since the last release, cool.

1.6

03 Apr 22:57
Compare
Choose a tag to compare
1.6

This version wont work on any path versions, package names changed.
Added EquipMethod.HOTBAR_SWAP
Now uses maven

1.5

03 Dec 00:59
Compare
Choose a tag to compare
1.5

Fixed an issue where if a player spam clicked it would sometimes not register the event.