PaperMC/Spigot-Server-Patches/0111-Don-t-tick-Skulls-unused-code.patch

23 lines
827 B
Diff
Raw Normal View History

2017-05-05 01:08:52 +02:00
From 1223e6dd7d783c673abeef49cec9f7ef676fddd7 Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Wed, 13 Apr 2016 00:30:10 -0400
Subject: [PATCH] Don't tick Skulls - unused code
diff --git a/src/main/java/net/minecraft/server/TileEntitySkull.java b/src/main/java/net/minecraft/server/TileEntitySkull.java
index edd6fb69e..380373c0e 100644
--- a/src/main/java/net/minecraft/server/TileEntitySkull.java
+++ b/src/main/java/net/minecraft/server/TileEntitySkull.java
2016-05-12 04:07:46 +02:00
@@ -21,7 +21,7 @@ import com.mojang.authlib.Agent;
import com.mojang.authlib.ProfileLookupCallback;
// Spigot end
-public class TileEntitySkull extends TileEntity implements ITickable {
+public class TileEntitySkull extends TileEntity /*implements ITickable*/ { // Paper - remove tickable
private int a;
2016-06-09 05:57:14 +02:00
public int rotation;
--
2017-05-05 01:08:52 +02:00
2.12.2