[SPIGOT-1292] FlowerPot Contents Broken Created: 14/Nov/15  Updated: 03/Jun/16  Resolved: 03/Jun/16

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

Type: Bug Priority: Major
Reporter: Brian Voter Assignee: md_5
Resolution: Fixed Votes: 1
Labels: 1.8.8, bug, bukkit, spigot
Environment:

spigot-1.8.8-R0.1-SNAPSHOT.jar



 Description   

A FlowerPot's contents cannot be set or retrieved correctly using the existing API calls.

The code used in testing:

FlowerPot fp = (FlowerPot) block.getState().getData();
MaterialData d = new MaterialData(Material.RED_ROSE);
fp.setContents(d);
block.getState().update(true);

Also, see the test done by Spigot user Mareckoo01:



 Comments   
Comment by SpigotMC [ 14/Nov/15 ]

Your build is not the latest and therefore may be the reason you are having this issue. Spigot is 6 version(s) behind. CraftBukkit is 15 version(s) behind. This message was automatically generated and is not guaranteed to be a solution to your issue.

Generated at Sat Dec 13 15:19:15 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.