MythicNetwork/MythicSpigot-master/TacoSpigot-Server/nms-patches/TileEntitySkull.patch

14 lines
328 B
Diff
Raw Permalink Normal View History

2023-05-25 01:58:23 +02:00
--- 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
}