2020-05-06 11:48:49 +02:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-07-15 03:53:17 +02: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 08:19:45 +01: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
|
2021-04-07 07:17:32 +02:00
|
|
|
index 87a5f352c8a6336c65008d6e21a771fd6332773c..22217f24b4a87f10b6d5a3e37d23a1164af84ace 100644
|
2021-03-16 08:19:45 +01:00
|
|
|
--- a/src/main/java/net/minecraft/world/level/block/entity/TileEntitySkull.java
|
|
|
|
+++ b/src/main/java/net/minecraft/world/level/block/entity/TileEntitySkull.java
|
2021-04-07 07:17:32 +02:00
|
|
|
@@ -33,7 +33,7 @@ import net.minecraft.server.MinecraftServer;
|
2021-03-16 08:19:45 +01:00
|
|
|
import net.minecraft.world.entity.player.EntityHuman;
|
2018-07-15 03:53:17 +02:00
|
|
|
// Spigot end
|
|
|
|
|
|
|
|
-public class TileEntitySkull extends TileEntity implements ITickable {
|
|
|
|
+public class TileEntitySkull extends TileEntity /*implements ITickable*/ { // Paper - remove tickable
|
|
|
|
|
2020-06-25 13:00:35 +02:00
|
|
|
@Nullable
|
|
|
|
private static UserCache userCache;
|
2021-04-07 07:17:32 +02:00
|
|
|
@@ -136,7 +136,7 @@ public class TileEntitySkull extends TileEntity implements ITickable {
|
2019-05-06 21:30:27 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
- @Override
|
|
|
|
+ // Paper - remove override
|
|
|
|
public void tick() {
|
2020-06-25 13:00:35 +02:00
|
|
|
IBlockData iblockdata = this.getBlock();
|
2019-05-06 21:30:27 +02:00
|
|
|
|