[SPIGOT-4175] New 1.13 items showing up as Material.AIR Created: 28/Jul/18  Updated: 28/Jul/18  Resolved: 28/Jul/18

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Elian Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: 1.13, Material

Version: This server is running CraftBukkit version git-Spigot-69774b3-ff9bab1 (MC: 1.13) (Implementing API version 1.13-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

In my plugin I simply check the item material to see if the player is auctioning air and I disallow them to do so, however all the new items I've tested so far seem to show up as Material.AIR when I check. Possible I'm doing something wrong however this method works on all 1.12 and below items.

Code: https://pastebin.com/FEiZaJDp

Console Output: https://pastebin.com/FTY7GhC0



 Comments   
Comment by md_5 [ 28/Jul/18 ]

All this is answered in the release notes

Comment by Elian [ 28/Jul/18 ]

Thanks. It is working now. Is this required for all plugins going forward? Does this affect compatibility with previous MC versions?

Comment by Black Hole [ 28/Jul/18 ]

Please make sure to include api-version: 1.13 in your plugin.yml file. Make sure the change is in the final JAR of the plugin.

Generated at Sat Dec 13 11:53:51 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.