elevate-spigot/TacoSpigot-Server/nms-patches/TileEntitySkull.patch
2022-06-22 19:29:55 +02:00

14 lines
328 B
Diff

--- a/net/minecraft/server/TileEntitySkull.java
+++ b/net/minecraft/server/TileEntitySkull.java
@@ -105,4 +105,10 @@
public void setRotation(int i) {
this.rotation = i;
}
+
+ // CraftBukkit start - add method
+ public int getRotation() {
+ return this.rotation;
+ }
+ // CraftBukkit end
}