Fixed plot clearing on sub chunk sized plots
Optimized chunk generation
Fixed several messages including setup having incorrect replaced args
This commit is contained in:
boy0001
2015-07-19 03:03:59 +10:00
parent 1723d8266b
commit ea8f026105
5 changed files with 116 additions and 139 deletions

View File

@ -100,6 +100,14 @@ public abstract class PlotGenerator extends ChunkGenerator {
return new ArrayList<BlockPopulator>();
}
/**
* Set the result;
* @param result
*/
public void setResult(short[][] result) {
this.result = result;
}
@Override
public short[][] generateExtBlockSections(World world, Random r, int cx, int cz, BiomeGrid biomes) {
try {

View File

@ -1,7 +1,7 @@
package com.intellectualcrafters.plot.object;
public class PseudoRandom {
public long state = 1;
public long state = System.nanoTime();
public long nextLong() {
final long a = state;