MythicNetwork/MythicSpigot-master/TacoSpigot-Server/nms-patches/TileEntitySkull.patch
2023-05-25 00:58:23 +01: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
}