mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-10 20:59:54 +01:00
18c3716c49
This enables us a fast reference to the entities current chunk instead of having to look it up by hashmap lookups. We also store counts by type to further enable other performance optimizations in later patches.
23 lines
832 B
Diff
23 lines
832 B
Diff
From ac45d8457a0c7eae58e0b9feebedd4e415bd383e 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 a796c08ab..dd2665881 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
|
|
|
|
private int a;
|
|
public int rotation;
|
|
--
|
|
2.18.0
|
|
|