Paper/nms-patches/TileEntitySkull.patch
2016-03-01 09:32:45 +11:00

14 lines
328 B
Diff

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