[SPIGOT-6643] EntitySpawnEvent and ItemSpawnEvent does not triggering. Created: 13/Jul/21 Updated: 13/Jul/21 Resolved: 13/Jul/21 |
|
Status: | Closed |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Major |
Reporter: | Hamza Coskun | Assignee: | Unassigned |
Resolution: | Won't Fix | Votes: | 0 |
Labels: | event, spigot |
Version: | CraftBukkit version 3094-Spigot-9fb885e-fae895a (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT) |
Guidelines Read: | Yes |
Description |
I want to listen ItemSpawnEvent but the event never triggers. Also i tried EntitySpawnEvent but i couldn't trigger it too. Event above, triggering successfully. i tried 4 different spigot fork and 2 different spigot versions. i tried different priorities. no one solved this. My tries:
@EventHandler public void onPlayerDropEvent(PlayerDropItemEvent e) { Bukkit.broadcastMessage("PlayerDropItemEvent"); //works } @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) public void onItemSpawnEvent(ItemSpawnEvent e) { System.out.println("tttt"); Bukkit.broadcastMessage("1"); //not works } |
Comments |
Comment by Hamza Coskun [ 13/Jul/21 ] |
When you saying 'latest version' did you mean 1.17 or latest 1.16.5 build? |
Comment by Martoph [ 13/Jul/21 ] |
Not the latest version, and cannot replicate. Please use the forums or discord for plugin development help. |