Update upstream B/CB
--- work/Bukkit Submodule work/Bukkit 96e09e50..0b95b68f: > SPIGOT-4650: Charging API for Vex --- work/CraftBukkit Submodule work/CraftBukkit f102d882..77ca7ca0: > Rebuild patches > Improve damage handling of dead entities > SPIGOT-4646: Test + fix InventoryWrapper.getContents > SPIGOT-4650: Charging API for Vex
This commit is contained in:
@@ -6,19 +6,17 @@ Subject: [PATCH] Vex#getSummoner API
|
||||
Get's the Mob that summoned this Vex
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/entity/Vex.java b/src/main/java/org/bukkit/entity/Vex.java
|
||||
index a2f2fcae..d395e405 100644
|
||||
index 6b61c4ab..7b9b21e5 100644
|
||||
--- a/src/main/java/org/bukkit/entity/Vex.java
|
||||
+++ b/src/main/java/org/bukkit/entity/Vex.java
|
||||
@@ -0,0 +0,0 @@ package org.bukkit.entity;
|
||||
/**
|
||||
* Represents a Vex.
|
||||
*/
|
||||
-public interface Vex extends Monster { }
|
||||
+public interface Vex extends Monster {
|
||||
@@ -0,0 +0,0 @@ public interface Vex extends Monster {
|
||||
* @param charging new state
|
||||
*/
|
||||
void setCharging(boolean charging);
|
||||
+
|
||||
+ /**
|
||||
+ * @return What Entity (most likely an Evoker, but not guaranteed) summoned this Vex
|
||||
+ */
|
||||
+ Mob getSummoner(); // Paper
|
||||
+
|
||||
+}
|
||||
}
|
||||
--
|
||||
Reference in New Issue
Block a user