Spatial generation and frame bucket fix. ( ender pearl fix required? )

This commit is contained in:
AlgorithmX2
2014-07-02 18:20:42 -05:00
parent c821ab2833
commit f34f20d150
2 changed files with 13 additions and 7 deletions
+12 -6
View File
@@ -15,17 +15,23 @@ import appeng.core.AEConfig;
public class StorageChunkProvider extends ChunkProviderGenerate implements IChunkProvider
{
Block[] ablock = new Block[32768];
final static Block[] ablock;
static {
ablock = new Block[255 * 256];
Block matrixFrame = AEApi.instance().blocks().blockMatrixFrame.block();
for (int x = 0; x < ablock.length; x++)
ablock[x] = matrixFrame;
}
World w;
public StorageChunkProvider(World wrd, long i) {
super( wrd, i, false );
this.w = wrd;
Block matrixFrame = AEApi.instance().blocks().blockMatrixFrame.block();
for (int x = 0; x < ablock.length; x++)
ablock[x] = matrixFrame;
}
@Override