I don't know what the person who wrote that code was smoking, but I don't think it was good. Gets rid of the WeakHashMap that mojang was abusing purely to be lazy on clean up, and handles registering and deregistering navigation upon world add/remove operations.
147 KiB
147 KiB