Configurable hanging tick

EntityHangings make a somewhat extensive calculation ever 100 ticks to check if they should die (obstruction etc). This patch makes this magic number configurable, allowing server owners to pick how often they want EntityHangings (e.g. ItemFrames) to tick. Higher values may provide a performance boost for Hanging-heavy servers.
This commit is contained in:
drXor 2014-08-09 17:27:35 -05:00 committed by Zach Brown
parent 9fdc6b05f9
commit d95ac585d4
3 changed files with 42 additions and 2 deletions

View file

@ -1,4 +1,4 @@
From 759908be8944103e051eefd95710f9dfe39b532e Mon Sep 17 00:00:00 2001
From 9be819202ea6ab85a9acca973e090495fb40893a Mon Sep 17 00:00:00 2001
From: Jedediah Smith <jedediah@silencegreys.com>
Date: Fri, 8 Aug 2014 22:51:26 -0500
Subject: [PATCH] Player affects spawning API
@ -39,3 +39,4 @@ index b2ad5b7..b2a8e2e 100644
Spigot spigot();
--
1.9.1