Cleanup javadoc warnings

This commit is contained in:
Shane Freeder
2018-08-16 12:20:58 +01:00
parent 609d6bba6a
commit 69928187c9
20 changed files with 203 additions and 62 deletions

View File

@@ -7,7 +7,7 @@ Control what potion the witch readies to use
diff --git a/src/main/java/com/destroystokyo/paper/event/entity/WitchReadyPotionEvent.java b/src/main/java/com/destroystokyo/paper/event/entity/WitchReadyPotionEvent.java
new file mode 100644
index 00000000..5082662a
index 000000000..0e0c6da71
--- /dev/null
+++ b/src/main/java/com/destroystokyo/paper/event/entity/WitchReadyPotionEvent.java
@@ -0,0 +0,0 @@
@@ -31,6 +31,9 @@ index 00000000..5082662a
+
+ /**
+ * Fires thee event, returning the desired potion, or air of cancelled
+ * @param witch the witch whom is readying to use a potion
+ * @param potion the potion to be used
+ * @return The ItemStack to be used
+ */
+ public static ItemStack process(Witch witch, ItemStack potion) {
+ WitchReadyPotionEvent event = new WitchReadyPotionEvent(witch, potion);
@@ -46,7 +49,7 @@ index 00000000..5082662a
+ }
+
+ /**
+ * Gets the potion the witch is readying to use
+ * @return the potion the witch is readying to use
+ */
+ public ItemStack getPotion() {
+ return potion;