summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-07-20 10:21:05 +1000
committermd_5 <git@md-5.net>2018-07-20 10:21:05 +1000
commit6014108495394835c6c168d7604818bca3d2e869 (patch)
tree58a80d4c108c40e35782e160e563e3f60ca4ae55 /src
parent059e2b80f6d8e8ef89350c323836d9933d9241e4 (diff)
downloadbukkit-6014108495394835c6c168d7604818bca3d2e869.tar
bukkit-6014108495394835c6c168d7604818bca3d2e869.tar.gz
bukkit-6014108495394835c6c168d7604818bca3d2e869.tar.lz
bukkit-6014108495394835c6c168d7604818bca3d2e869.tar.xz
bukkit-6014108495394835c6c168d7604818bca3d2e869.zip
Clarify behaviour of createBlockData
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/Server.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
index dc2e1018..d69fa6a9 100644
--- a/src/main/java/org/bukkit/Server.java
+++ b/src/main/java/org/bukkit/Server.java
@@ -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