Merge pull request #987 from OniBait/MC147-RCFix

Fix for the freakin' Railcraft tanks (finally!)
Merge pull request #988 from OniBait/MC147-RCFix

Minor fixes and one Major perf fix for Mystcraft dims on client-side.
Merge pull request #993 from OniBait/MC147-RCFix

Backported 1.5.x memory leak fixes and removed FlatMap<V> usage
Fixed all remaining memory leaks. Fixes #969, Fixes #919

* Fixed bug with inventory flag not being set properly when using RP2
containers.
* Removed initOverWorld and cleaned up loadAllWorlds. Fixes #411
* Prevent forge chunk providers from creating bukkit generators.Fixes #976
* Add null check before attempting to unload a world.
* Re-fixed issue #120 with inventory pickups not being seen after death.
* Fixed Flans weapon box dupe when using placement event.
* Removed simulate-block-place-event check and config option. Fixes #247
, #436, #456, #471, #796.
* Removed old mystcraft code.
Fixed issue with overworld not being added to first position in worlds.

* Fixed issue with duplicate worlds being added at startup.

CraftBukkit expects overworld to be added to our worlds list first or
player dat files will be stored in whichever world is added first.
Removed ticket removal in unloadWorld. Added world-leak-debug to config.
Fix NPE after Mystcraft strikes lightning on a PigZombie. Fixes #765
Fix NPE after Mystcraft strikes lightning on a Creeper. Fixes #1023
Fixed CME on server shutdown. Fixed NPE Mystcraft lightning. Fixes #1025

Fixes #1023
Fixed typo in previous commit. Backported fix for Pixelmon.
Migrated the latest 1.5 world changes to fix mystcraft. Fixes #776, #1036

This build brings forth an important change to how world data is stored :

* New worlds will no longer be created in server root. All new worlds will
now be placed in the overworld root which is identical to Forge/FTB.

To help assist migrations, I have modified the old Forge->CB migration
code to now migrate from CB->Forge. What this means is, all world data
stored in world_name folders in server root will be migrated over to your
main world's folder. Example : in pre-legacy builds 32+, mystcraft data would
be stored in world_myst/DIM_MYSTXX, this folder will now be moved to
mainworld/DIM_MYSTXX where mainworld is whatever you named overworld.
However, if you are migrating from legacy 31 and under then mystcraft data
is stored in world_myst/ageXX/DIM_MYSTXX. To migrate properly, you must
move all data from ageXX into DIM_MYSTXX, move DIM_MYSTXX back to
world_myst root then load up this build to finish the migration to
overworld/DIM_MYSTXX. If you have any questions please contact us on
irc.esper.net #mcportcentral.
Fixed NoSuchMethodError in WorldChunkManager. Fixes #959.
Fixed crashes when clients attempted to login MV worlds. Fixes #1045
Added to bukkitAliasMap in registerDimension() and use it in CraftServer.getWorld()
Merge branch 'MC147' of git://github.com/MinecraftPortCentral/MCPC-Plus.git into MC147-RCFix