Fixed NPE when disabling metals, Fixed vanilla spawning