Paper/nms-patches/TileEntitySkull.patch
2016-05-10 21:47:39 +10:00

14 lines
328 B
Diff

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