mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-18 00:47:42 +01:00
Remove Tuinity patches (you will be missed)
This commit is contained in:
38
patches/api/0024-Add-more-evoker-API.patch
Normal file
38
patches/api/0024-Add-more-evoker-API.patch
Normal file
@@ -0,0 +1,38 @@
|
||||
From e6dd34a38b3bba976bee9a04743c910f3baccf97 Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Sat, 19 Oct 2019 00:28:53 -0500
|
||||
Subject: [PATCH] Add more evoker API
|
||||
|
||||
---
|
||||
src/main/java/org/bukkit/entity/Evoker.java | 17 +++++++++++++++++
|
||||
1 file changed, 17 insertions(+)
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/entity/Evoker.java b/src/main/java/org/bukkit/entity/Evoker.java
|
||||
index f8d173adc..f2a03f7f8 100644
|
||||
--- a/src/main/java/org/bukkit/entity/Evoker.java
|
||||
+++ b/src/main/java/org/bukkit/entity/Evoker.java
|
||||
@@ -64,4 +64,21 @@ public interface Evoker extends Spellcaster {
|
||||
*/
|
||||
@Deprecated
|
||||
void setCurrentSpell(@Nullable Spell spell);
|
||||
+
|
||||
+ // Purpur start
|
||||
+ /**
|
||||
+ * Get the sheep being targeted by the Wololo spell
|
||||
+ *
|
||||
+ * @return Targeted sheep
|
||||
+ */
|
||||
+ @Nullable
|
||||
+ Sheep getWololoTarget();
|
||||
+
|
||||
+ /**
|
||||
+ * Set the sheep targeted by the Wololo spell
|
||||
+ *
|
||||
+ * @param sheep Sheep to target
|
||||
+ */
|
||||
+ void setWololoTarget(@Nullable Sheep sheep);
|
||||
+ // Purpur end
|
||||
}
|
||||
--
|
||||
2.24.0
|
||||
|
||||
Reference in New Issue
Block a user