Add additional APIs for Evoker / EvokerFangs
By: momothereal <momothereal.mc@gmail.com>
This commit is contained in:
15
paper-server/nms-patches/EntityEvoker.patch
Normal file
15
paper-server/nms-patches/EntityEvoker.patch
Normal file
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user