-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
None
-
Java 8
windows 10
Minecraft1.13
-
1.13
-
Yes
Today,I create a Tipped_Arrow itemstack through my plugin. I shot it on the ground. When I pick up, the tipped arrow can't merge. Here is itemstack's infomation.
//代码占位符 xxoo: ==: org.bukkit.inventory.ItemStack v: 1519 type: TIPPED_ARROW amount: 6 meta: ==: ItemMeta meta-type: POTION potion-type: minecraft:water custom-effects: - ==: PotionEffect effect: 2 duration: 1500 amplifier: 1 ambient: true has-particles: true xxoo: ==: org.bukkit.inventory.ItemStack v: 1519 type: TIPPED_ARROW amount: 2 meta: ==: ItemMeta meta-type: POTION potion-type: minecraft:water custom-effects: - ==: PotionEffect effect: 2 duration: 1500 amplifier: 1 ambient: true has-particles: true
Here are screen shoots.
I added gif of my test
and the create itemstack's codes
//代码占位符 ItemStack it=new ItemStack(Material.TIPPED_ARROW); ItemStack it=new ItemStack(Material.TIPPED_ARROW); PotionMeta potion =(PotionMeta) it.getItemMeta(); potion.setBasePotionData(new PotionData(PotionType.WATER)); potion.addCustomEffect(PotionEffectType.SLOW.createEffect(1200, 0),true); it.setItemMeta(potion);
Trough the gif. The client thinks they are the same but the server thinks they are different.