[SPIGOT-5950] Add a PrepareSmithingEvent event Created: 06/Jul/20 Updated: 22/Jul/20 Resolved: 22/Jul/20 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Eccentric Devotion | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | None | ||
| Version: | git-Spigot-ccb012a-4309566 (MC: 1.16.1) |
| Guidelines Read: | Yes |
| Description |
|
Similar to the PrepareItemCraftEvent and PrepareAnvilEvent events it would be nice to have a PrepareSmithingEvent event so we can set the result of the smithing upgrade. |
| Comments |
| Comment by James Peters [ 20/Jul/20 ] |
|
I've made a PR to add the PrepareSmithingEvent here: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/712/overview https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/527/overview |
| Comment by Zak Shearman [ 11/Jul/20 ] |
|
Whilst adding this, please also add a SmithItemEvent for when a player successfully smiths an item. |