mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 18:45:54 +01:00
4e958e229f
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com> Co-authored-by: zml <zml@stellardrift.ca> Co-authored-by: Mariell Hoversholm <proximyst@proximyst.com>
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
From 0000000000000000000000000000000000000000 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 5528df3d07a2649a5248ff3b26720a2e2a4a0c25..4fae1b3274a96b871b39de083e9b28ab6129533f 100644
|
|
--- 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
|
|
|
|
@Nullable
|
|
private static UserCache userCache;
|
|
@@ -127,7 +127,7 @@ public class TileEntitySkull extends TileEntity implements ITickable {
|
|
|
|
}
|
|
|
|
- @Override
|
|
+ // Paper - remove override
|
|
public void tick() {
|
|
IBlockData iblockdata = this.getBlock();
|
|
|