[SPIGOT-6266] PrepareSmithingEvent called multiple times Created: 03/Dec/20 Updated: 27/Dec/20 Resolved: 27/Dec/20 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Michał Czopek | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 0 |
Labels: | 1.16.4, api, bug, spigot | ||
Environment: |
Plain Spigot. One plugin, no config changes. |
Attachments: |
![]() ![]() |
||||||||
Issue Links: |
|
||||||||
Version: | This server is running CraftBukkit version git-Spigot-a19903d-5b74714 (MC: 1.16.4) (Implementing API version 1.16.4-R0.1-SNAPSHOT) | ||||||||
Guidelines Read: | Yes |
Description |
PrepareSmithingEvent is called multiple times when doing single operation in the GUI. Can be reproduced with this code: @EventHandler public void onPrepare(PrepareSmithingEvent event) { Bukkit.getLogger().info("System.currentTimeMillis: " + System.currentTimeMillis()); } I attached compiled plugin to test this behaviour. |
Comments |
Comment by Michał Czopek [ 04/Dec/20 ] |
Applies to PrepareAnvilEvent as well. |