This is a command so if you type "/spawn meteor" a meteor will randomly drop. You should only spawn 1 at a time!
To your mod class on-chat function add if you don't have the spawn command
if (command == "Spawn") { }
In the spawn command add
if (parameter == "Meteor") { WorldGen.spawnMeteor = false; WorldGen.dropMeteor(); }
So now if you didn't already have the spawn command you should have
if (command == "Spawn") { if (parameter == "Meteor") { WorldGen.spawnMeteor = false; WorldGen.dropMeteor(); } }
There was an error while loading. Please reload this page.