Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-22 14:28:09 +01:00
16 Zeilen
397 B
Diff
16 Zeilen
397 B
Diff
|
--- 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;
|
||
|
}
|