ore gen fixed!

This commit is contained in:
Cheese 2015-06-26 10:50:38 +10:00
parent d9a8d2b6ab
commit b48820a753

View File

@ -456,13 +456,13 @@ public class SkyWars extends SoloGame
for (ArrayList<Location> ores : islandOres.values()) for (ArrayList<Location> ores : islandOres.values())
{ {
for (int i = 0; i < diamondVeins; i++) for (int i = 0; i < diamondVeins; i++)
createVein(ores, Material.DIAMOND, 2, true); createVein(ores, Material.DIAMOND_ORE, 2, true);
for (int i = 0; i < ironVeins; i++) for (int i = 0; i < ironVeins; i++)
createVein(ores, Material.IRON_ORE, 3 + UtilMath.r(3), true); createVein(ores, Material.IRON_ORE, 3 + UtilMath.r(3), true);
for (int i = 0; i < coalVeins; i++) for (int i = 0; i < coalVeins; i++)
createVein(ores, Material.COAL, 4 + UtilMath.r(3), true); createVein(ores, Material.COAL_ORE, 4 + UtilMath.r(3), true);
for (int i = 0; i < gravelVeins; i++) for (int i = 0; i < gravelVeins; i++)
createVein(ores, Material.GRAVEL, 3 + UtilMath.r(3), false); createVein(ores, Material.GRAVEL, 3 + UtilMath.r(3), false);