Clarify behaviour of createBlockData

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2018-07-20 10:21:05 +10:00
parent 3323421ffe
commit ab51d58f44

View File

@ -979,6 +979,9 @@ public interface Server extends PluginMessageRecipient {
* Creates a new {@link BlockData} instance for the specified Material, with
* all properties initialized to unspecified defaults, except for those
* provided in data.
* <br>
* If <code>material</code> is specified, then the data string must not also
* contain the material.
*
* @param material the material
* @param data data string