2019-03-06 06:46:21 +01:00
|
|
|
From ed4de91ce14776b268c13b40d31e75e477fb96c5 Mon Sep 17 00:00:00 2001
|
2018-07-04 21:32:30 +02:00
|
|
|
From: Aikar <aikar@aikar.co>
|
|
|
|
Date: Wed, 4 Jul 2018 15:29:21 -0400
|
2018-08-11 04:13:00 +02:00
|
|
|
Subject: [PATCH] Vex#getSummoner API
|
2018-07-04 21:32:30 +02:00
|
|
|
|
2018-08-11 04:13:00 +02:00
|
|
|
Get's the Mob that summoned this Vex
|
2018-07-04 21:32:30 +02:00
|
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Vex.java b/src/main/java/org/bukkit/entity/Vex.java
|
2019-03-06 06:46:21 +01:00
|
|
|
index 6b61c4ab..7b9b21e5 100644
|
2018-07-04 21:32:30 +02:00
|
|
|
--- a/src/main/java/org/bukkit/entity/Vex.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Vex.java
|
2019-03-06 06:46:21 +01:00
|
|
|
@@ -22,4 +22,9 @@ public interface Vex extends Monster {
|
|
|
|
* @param charging new state
|
|
|
|
*/
|
|
|
|
void setCharging(boolean charging);
|
|
|
|
+
|
2018-07-04 21:32:30 +02:00
|
|
|
+ /**
|
|
|
|
+ * @return What Entity (most likely an Evoker, but not guaranteed) summoned this Vex
|
|
|
|
+ */
|
2018-08-11 04:13:00 +02:00
|
|
|
+ Mob getSummoner(); // Paper
|
2019-03-06 06:46:21 +01:00
|
|
|
}
|
2018-07-04 21:32:30 +02:00
|
|
|
--
|
2019-03-06 06:46:21 +01:00
|
|
|
2.21.0
|
2018-07-04 21:32:30 +02:00
|
|
|
|