Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-6266

PrepareSmithingEvent called multiple times

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • None
    • Plain Spigot. One plugin, no config changes.

    • This server is running CraftBukkit version git-Spigot-a19903d-5b74714 (MC: 1.16.4) (Implementing API version 1.16.4-R0.1-SNAPSHOT)
    • Yes

      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.

        1. image-2020-12-03-23-28-49-692.png
          268 kB
          Michał Czopek

            Unassigned Unassigned
            Grabsky Michał Czopek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: