summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityEvoker.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityEvoker.patch')
-rw-r--r--nms-patches/EntityEvoker.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/nms-patches/EntityEvoker.patch b/nms-patches/EntityEvoker.patch
new file mode 100644
index 00000000..6d8b367a
--- /dev/null
+++ b/nms-patches/EntityEvoker.patch
@@ -0,0 +1,15 @@
+--- a/net/minecraft/server/EntityEvoker.java
++++ b/net/minecraft/server/EntityEvoker.java
+@@ -76,6 +76,12 @@
+ this.datawatcher.set(EntityEvoker.a, Byte.valueOf((byte) i));
+ }
+
++ // CraftBukkit start
++ public int getSpell() {
++ return this.datawatcher.get(EntityEvoker.a).intValue();
++ }
++ // CraftBukkit end
++
+ private int di() {
+ return this.b;
+ }