summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/entity/Painting.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/bukkit/entity/Painting.java')
-rw-r--r--src/main/java/org/bukkit/entity/Painting.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/main/java/org/bukkit/entity/Painting.java b/src/main/java/org/bukkit/entity/Painting.java
index ddfa89d3..ca7a4cfa 100644
--- a/src/main/java/org/bukkit/entity/Painting.java
+++ b/src/main/java/org/bukkit/entity/Painting.java
@@ -19,7 +19,8 @@ public interface Painting extends Hanging {
* Set the art on this painting
*
* @param art The new art
- * @return False if the new art won't fit at the painting's current location
+ * @return False if the new art won't fit at the painting's current
+ * location
*/
public boolean setArt(Art art);
@@ -27,10 +28,12 @@ public interface Painting extends Hanging {
* Set the art on this painting
*
* @param art The new art
- * @param force If true, force the new art regardless of whether it fits at the current location
- * Note that forcing it where it can't fit normally causes it to drop as an item unless you override
- * this by catching the {@link PaintingBreakEvent}.
- * @return False if force was false and the new art won't fit at the painting's current location
+ * @param force If true, force the new art regardless of whether it fits
+ * at the current location. Note that forcing it where it can't fit
+ * normally causes it to drop as an item unless you override this by
+ * catching the {@link PaintingBreakEvent}.
+ * @return False if force was false and the new art won't fit at the
+ * painting's current location
*/
public boolean setArt(Art art, boolean force);
}