Typo Metetorites
This commit is contained in:
@@ -194,7 +194,7 @@ public class WorldSettings extends Configuration
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean addNearByMetetorites(int dim, int chunkX, int chunkZ, NBTTagCompound newData)
|
public boolean addNearByMeteorites(int dim, int chunkX, int chunkZ, NBTTagCompound newData)
|
||||||
{
|
{
|
||||||
synchronized (WorldSettings.class)
|
synchronized (WorldSettings.class)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -558,7 +558,7 @@ public class MeteoritePlacer
|
|||||||
settings.setInteger( "skyMode", skyMode );
|
settings.setInteger( "skyMode", skyMode );
|
||||||
w.done();
|
w.done();
|
||||||
|
|
||||||
WorldSettings.getInstance().addNearByMetetorites( w.getWorld().provider.dimensionId, x >> 4, z >> 4, settings );
|
WorldSettings.getInstance().addNearByMeteorites( w.getWorld().provider.dimensionId, x >> 4, z >> 4, settings );
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ final public class MeteoriteWorldGen implements IWorldGenerator
|
|||||||
double minSqDist = Double.MAX_VALUE;
|
double minSqDist = Double.MAX_VALUE;
|
||||||
|
|
||||||
// near by meteorites!
|
// near by meteorites!
|
||||||
for (NBTTagCompound data : getNearByMetetorites( w, chunkX, chunkZ ))
|
for (NBTTagCompound data : getNearByMeteorites( w, chunkX, chunkZ ))
|
||||||
{
|
{
|
||||||
MeteoritePlacer mp = new MeteoritePlacer();
|
MeteoritePlacer mp = new MeteoritePlacer();
|
||||||
mp.spawnMeteorite( new MeteoritePlacer.ChunkOnly( w, chunkX, chunkZ ), data );
|
mp.spawnMeteorite( new MeteoritePlacer.ChunkOnly( w, chunkX, chunkZ ), data );
|
||||||
@@ -138,7 +138,7 @@ final public class MeteoriteWorldGen implements IWorldGenerator
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private Collection<NBTTagCompound> getNearByMetetorites(World w, int chunkX, int chunkZ)
|
private Collection<NBTTagCompound> getNearByMeteorites(World w, int chunkX, int chunkZ)
|
||||||
{
|
{
|
||||||
return WorldSettings.getInstance().getNearByMeteorites( w.provider.dimensionId, chunkX, chunkZ );
|
return WorldSettings.getInstance().getNearByMeteorites( w.provider.dimensionId, chunkX, chunkZ );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user