Configurable Thunder Chance

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2021-10-24 20:29:25 +11:00
parent e81bcdf643
commit 7cfc37b17d
2 changed files with 23 additions and 9 deletions

View File

@@ -382,4 +382,10 @@ public class SpigotWorldConfig
this.entityMaxTickTime = this.getInt("max-tick-time.entity", 50);
this.log("Tile Max Tick Time: " + this.tileMaxTickTime + "ms Entity max Tick Time: " + this.entityMaxTickTime + "ms");
}
public int thunderChance;
private void thunderChance()
{
this.thunderChance = this.getInt("thunder-chance", 100000);
}
}