@@ -1,13 +1,10 @@
|
||||
From 783430598f8aad57eccc92ccd75fc54926cf2e4a Mon Sep 17 00:00:00 2001
|
||||
From 0a07b5d906ed825ec54f3f3b7ec2906ddaadc27e Mon Sep 17 00:00:00 2001
|
||||
From: shakytom <tom.roberts00@gmail.com>
|
||||
Date: Wed, 20 Feb 2013 22:34:38 -0500
|
||||
Subject: [PATCH] Improved tile entity lookup for chunk sending
|
||||
|
||||
Instead of scanning the entire worlds tile entities to find out what tile entities are in the chunk... just use the arraylist of tile entities we already have.
|
||||
This results in a good reduction of time spent in player ticking.
|
||||
---
|
||||
src/main/java/net/minecraft/server/EntityPlayer.java | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
index eb07d8e..410148f 100644
|
||||
|
||||
Reference in New Issue
Block a user