[SPIGOT-5266] PlayerInteractEvent getType returns AIR on new blocks Created: 13/Aug/19 Updated: 13/Aug/19 Resolved: 13/Aug/19 |
|
Status: | Closed |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Virgil Fabre | Assignee: | Unassigned |
Resolution: | Invalid | Votes: | 0 |
Labels: | PlayerInteractEvent | ||
Environment: |
Windows 10 Java 1.8 |
Attachments: |
![]() |
Version: | git-Spigot-798ea6a-368f4e9 |
Plugin: | My own, you can see code in photo |
Guidelines Read: | Yes |
Description |
PlayerInteractEvent returns AIR at event.getClickedBlock().getType() on lot of blocks including blast furnace, composter, grindstone, fletching table, by logic I think it's all "new" blocks I directly added preview with broadcastmessage (See picture) |
Comments |
Comment by Virgil Fabre [ 13/Aug/19 ] |
Perfect thanks |
Comment by Black Hole [ 13/Aug/19 ] |
Starting with version 1.13 you have to declare the version the plugin is build for in your plugin.yml file, like: |