Properly merged Elias' code

Merged Elias' mob spawn code with my gun chainloader.