2019-01-01 04:15:55 +01:00
|
|
|
From 58c627929f89adfa0b2353bd1d9e01984e462b03 Mon Sep 17 00:00:00 2001
|
2018-10-07 05:31:21 +02:00
|
|
|
From: BillyGalbreath <Blake.Galbreath@GMail.com>
|
|
|
|
Date: Sat, 6 Oct 2018 21:47:09 -0500
|
|
|
|
Subject: [PATCH] Allow setting the vex's summoner
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Vex.java b/src/main/java/org/bukkit/entity/Vex.java
|
|
|
|
index d395e405..78f0082e 100644
|
|
|
|
--- a/src/main/java/org/bukkit/entity/Vex.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Vex.java
|
|
|
|
@@ -7,6 +7,19 @@ public interface Vex extends Monster {
|
|
|
|
/**
|
|
|
|
* @return What Entity (most likely an Evoker, but not guaranteed) summoned this Vex
|
|
|
|
*/
|
|
|
|
- Mob getSummoner(); // Paper
|
|
|
|
+ // Paper start
|
|
|
|
+ /**
|
|
|
|
+ * Get the Mob that summoned this vex
|
|
|
|
+ *
|
|
|
|
+ * @return Mob that summoned this vex
|
|
|
|
+ */
|
|
|
|
+ Mob getSummoner();
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * Set the summoner of this vex
|
|
|
|
+ *
|
|
|
|
+ * @param summoner New summoner
|
|
|
|
+ */
|
|
|
|
+ void setSummoner(Mob summoner);
|
|
|
|
+ // Paper end
|
|
|
|
}
|
|
|
|
--
|
2019-01-01 04:15:55 +01:00
|
|
|
2.20.1
|
2018-10-07 05:31:21 +02:00
|
|
|
|