2020-05-06 09:48:49 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-07-15 01:53:17 +00:00
|
|
|
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
|
2020-05-06 09:48:49 +00:00
|
|
|
index 99442bb130220cf00e728e3a0da7fd6a04aa8994..177cceb77f8783fe93ba7e4342de9c589f155c1b 100644
|
2018-07-15 01:53:17 +00:00
|
|
|
--- a/src/main/java/net/minecraft/server/TileEntitySkull.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/TileEntitySkull.java
|
|
|
|
@@ -24,7 +24,7 @@ import com.mojang.authlib.ProfileLookupCallback;
|
|
|
|
import java.util.concurrent.Callable;
|
|
|
|
// Spigot end
|
|
|
|
|
|
|
|
-public class TileEntitySkull extends TileEntity implements ITickable {
|
|
|
|
+public class TileEntitySkull extends TileEntity /*implements ITickable*/ { // Paper - remove tickable
|
|
|
|
|
2019-04-27 03:05:36 +00:00
|
|
|
public GameProfile gameProfile;
|
|
|
|
private int b;
|
2019-05-06 19:30:27 +00:00
|
|
|
@@ -124,7 +124,7 @@ public class TileEntitySkull extends TileEntity implements ITickable {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
- @Override
|
|
|
|
+ // Paper - remove override
|
|
|
|
public void tick() {
|
|
|
|
Block block = this.getBlock().getBlock();
|
|
|
|
|