BlockDoor 0.074

Details

  • Filename
    BlockDoor74.zip
  • Uploaded by
  • Uploaded
    Mar 29, 2012
  • Size
    221.19 KB
  • Downloads
    1,654
  • MD5
    1f9ee23c113a36971e3bba15c24cf327

Supported Bukkit Versions

  • CB 1.2.5-R4.0

Changelog

v0.074
HDoors had a pretty serious overlap bug that would have prevented construction and in some cases cause either a NPE or a AIOBE to occur. Nasty stuff...
Loosened up the Zone watcher thread from .5 seconds to 1 second.
Removed the main Entity ArrayList as well as the .trimtosize() and .clear() calls for that list.
This is to create a more GC friendly environment by changing the zone watcher from using a list of all entities in all worlds to a map of chunks that a zone occupies. The chunks are then tested for entities that might occupy a given zone. Profiling of this method shows a reduced cpu time for zone watching from 800ms over 5 minutes down to about 22ms. GC has also dropped significantly.