Added demon limit to config - maximum number of demons that may spawn for a Demon Portal
This commit is contained in:
parent
316a79fab8
commit
8315dcf864
6 changed files with 29 additions and 64 deletions
|
@ -65,8 +65,12 @@ public class SpellLightningBolt extends HomSpell
|
|||
double yCoord = par3EntityPlayer.posY;
|
||||
double zCoord = par3EntityPlayer.posZ;
|
||||
par2World.getWorldInfo().setRaining(true);
|
||||
par2World.setRainStrength(1.0f);
|
||||
par2World.setThunderStrength(1.0f);
|
||||
if(par2World.isRemote)
|
||||
{
|
||||
par2World.setRainStrength(1.0f);
|
||||
par2World.setThunderStrength(1.0f);
|
||||
}
|
||||
|
||||
par2World.getWorldInfo().setThunderTime(0);
|
||||
par2World.getWorldInfo().setThundering(true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue