mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-21 04:32:34 +00:00
Make config options consistently static
This commit is contained in:
1 parent
8ccb8f4d75
commit
f645076eeb
11 files changed
+75
-78
No files matched your search
@@ -18,7 +18,7 @@ public class FeatureHive
|
||||
private static FeatureOreVein glowstoneGen;
|
||||
private static FeatureOreVein endStoneGen;
|
||||
|
||||
private static boolean logSpawns = MagicBees.getConfig().LogHiveSpawns;
|
||||
private static boolean logSpawns = Config.LogHiveSpawns;
|
||||
|
||||
public static void initialize()
|
||||
{
|
||||
@@ -161,7 +161,7 @@ public class FeatureHive
|
||||
netherQuartzGen.generateVein(world, random, coordX, coordY, coordZ - 1, 4);
|
||||
}
|
||||
}
|
||||
else if (MagicBees.getConfig().DoSpecialHiveGen && world.rand.nextInt() < 11)
|
||||
else if (Config.DoSpecialHiveGen && world.rand.nextInt() < 11)
|
||||
{
|
||||
int coordY = random.nextInt(13) + 5;
|
||||
|
||||
@@ -230,7 +230,7 @@ public class FeatureHive
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (MagicBees.getConfig().DoSpecialHiveGen && world.rand.nextInt() < 8)
|
||||
else if (Config.DoSpecialHiveGen && world.rand.nextInt() < 8)
|
||||
{
|
||||
// 1 per gen
|
||||
int coordY = random.nextInt(5) + 5;
|
||||
|
||||
Reference in new issue
Block a user