return region.getChunkDataInputStream(x & 0x1F, z & 0x1F);
}
protected DataOutputStream getDataOutputStream(int x, int z) throws IOException
{
RegionFile region = regionManager.getRegionFile(x >> 5, z >> 5);
if(region == null)
{
region = createRegionFile(x >> 5, z >> 5);
if(region == null)
throw new IOException();
}
return region.getChunkDataOutputStream(x & 0x1F, z & 0x1F);
}