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
|
|
|
|
|
|
|
|
|
2021-03-16 07:19:45 +00:00
|
|
|
diff --git a/src/main/java/net/minecraft/world/level/block/entity/TileEntitySkull.java b/src/main/java/net/minecraft/world/level/block/entity/TileEntitySkull.java
|
|
|
|
index 5e778fcc1bce3339890933c0c769701a432240d8..06ab45e0927403beb6b5e11d2b5ea93d4786f1d3 100644
|
|
|
|
--- a/src/main/java/net/minecraft/world/level/block/entity/TileEntitySkull.java
|
|
|
|
+++ b/src/main/java/net/minecraft/world/level/block/entity/TileEntitySkull.java
|
|
|
|
@@ -32,7 +32,7 @@ import net.minecraft.server.MinecraftServer;
|
|
|
|
import net.minecraft.world.entity.player.EntityHuman;
|
2018-07-15 01:53:17 +00:00
|
|
|
// Spigot end
|
|
|
|
|
|
|
|
-public class TileEntitySkull extends TileEntity implements ITickable {
|
|
|
|
+public class TileEntitySkull extends TileEntity /*implements ITickable*/ { // Paper - remove tickable
|
|
|
|
|
2020-06-25 11:00:35 +00:00
|
|
|
@Nullable
|
|
|
|
private static UserCache userCache;
|
2021-03-16 07:19:45 +00:00
|
|
|
@@ -135,7 +135,7 @@ public class TileEntitySkull extends TileEntity implements ITickable {
|
2019-05-06 19:30:27 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
- @Override
|
|
|
|
+ // Paper - remove override
|
|
|
|
public void tick() {
|
2020-06-25 11:00:35 +00:00
|
|
|
IBlockData iblockdata = this.getBlock();
|
2019-05-06 19:30:27 +00:00
|
|
|
|