Removed unnecessary code and fixed ammoType table not existing