[SPIGOT-7177] Certain blocks Don't call BlockCanBuildEvent Created: 27/Oct/22 Updated: 25/Dec/24 Resolved: 28/Oct/22 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Brian Fopiano | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | BlockCanBuildEvent, CanPlace | ||
Environment: |
Purpur, but the issue I'm having is a Bukkit-to-Spigot issue. During development. |
Attachments: |
![]() ![]() ![]() ![]() |
Version: | 1825 |
Plugin: | Not Applicable |
Guidelines Read: | Yes |
Description |
The Event: BlockCanBuildEvent, Is not fired with Torches (Wall or standing items specifically) Block item has a CanPlace call, and that works just fine. Here are some Screenshots followed by a snippet of code, and a video. @EventHandler(priority = EventPriority.HIGHEST) public void on(BlockCanBuildEvent e) { System.out.println("BlockCanBuildEvent Called"); } Just toss it somewhere, works for blocks but not on torches or things of that nature |
Comments |
Comment by Brian Fopiano [ 04/Nov/22 ] |
What? |
Comment by Natalie Wood [ 03/Nov/22 ] |
He's not Talking about that event, don't worry i thought the same to...[url removed] |