-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
None
-
Affects Version/s: None
-
None
VERSION: lastest from the BuildTools.
[14:43:39 INFO]: This server is running CraftBukkit version git-Spigot-3fb9445-6e3cec8 (MC: 1.11.2) (Implementing API version 1.11.2-R0.1-SNAPSHOT) [14:43:39 INFO]: Checking version, please wait... [14:43:39 INFO]: You are 20 version(s) behind
To reproduce this bug, it's pretty easy:
ItemStack is = new ItemStack(Material.BANNER); BannerMeta meta = (BannerMeta) is.getItemMeta(); meta.setDisplayName("§bTeam aqua"); meta.setBaseColor(DyeColr.CYAN); is.setItemMeta(meta); System.out.println(is); // Output: ItemStack{BANNER x 1, BANNER_META:{meta-type=BANNER, display-name=§bTeam aqua, base-color=CYAN}}
Now in the InventoryClickEvent, there is no base-color:
System.out.println(event.getCurrentItem()); // Output: ItemStack{BANNER x 1, BANNER_META:{meta-type=BANNER, display-name=§bTeam aqua}}
It's a very important bug (already see it into 1.10.x versions)
Maybe, but its how Minecraft currently stores things