BlockFactory: split up static ID mapping registration from other things

this is actually HUGELY WASTEFUL on memory. An average of 3 MB is wasted per AsyncWorker on this.
This commit is contained in:
Dylan K. Taylor
2018-06-01 10:28:53 +01:00
parent 515e4aabc4
commit d535fe20a3
2 changed files with 9 additions and 6 deletions

View File

@ -1633,6 +1633,7 @@ class Server{
Entity::init();
Tile::init();
BlockFactory::init();
BlockFactory::registerStaticRuntimeIdMappings();
Enchantment::init();
ItemFactory::init();
Item::initCreativeItems();