diff options
Diffstat (limited to 'Spigot-Server-Patches-Unmapped/0086-Don-t-tick-Skulls-unused-code.patch')
-rw-r--r-- | Spigot-Server-Patches-Unmapped/0086-Don-t-tick-Skulls-unused-code.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Spigot-Server-Patches-Unmapped/0086-Don-t-tick-Skulls-unused-code.patch b/Spigot-Server-Patches-Unmapped/0086-Don-t-tick-Skulls-unused-code.patch new file mode 100644 index 0000000000..26489896ab --- /dev/null +++ b/Spigot-Server-Patches-Unmapped/0086-Don-t-tick-Skulls-unused-code.patch @@ -0,0 +1,28 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Aikar <[email protected]> +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/world/level/block/entity/TileEntitySkull.java b/src/main/java/net/minecraft/world/level/block/entity/TileEntitySkull.java +index 87a5f352c8a6336c65008d6e21a771fd6332773c..22217f24b4a87f10b6d5a3e37d23a1164af84ace 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 +@@ -33,7 +33,7 @@ import net.minecraft.server.MinecraftServer; + import net.minecraft.world.entity.player.EntityHuman; + // Spigot end + +-public class TileEntitySkull extends TileEntity implements ITickable { ++public class TileEntitySkull extends TileEntity /*implements ITickable*/ { // Paper - remove tickable + + @Nullable + private static UserCache userCache; +@@ -136,7 +136,7 @@ public class TileEntitySkull extends TileEntity implements ITickable { + + } + +- @Override ++ // Paper - remove override + public void tick() { + IBlockData iblockdata = this.getBlock(); + |