mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 04:32:11 -07:00
Cleanup javadoc warnings
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user