mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-15 13:03:43 +01:00
Merge branch 'mc1.15/dev' into mc1.16/dev
This commit is contained in:
commit
3b05e06d35
2 changed files with 6 additions and 13 deletions
|
@ -58,14 +58,7 @@ public class WrappedChunkProvider extends AbstractChunkProvider {
|
||||||
if (chunks == null)
|
if (chunks == null)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
WrappedChunk chunk = chunks.get(pos);
|
return chunks.computeIfAbsent(pos, $ -> new WrappedChunk(world, x, z));
|
||||||
|
|
||||||
if (chunk == null) {
|
|
||||||
chunk = new WrappedChunk(world, x, z);
|
|
||||||
chunks.put(pos, chunk);
|
|
||||||
}
|
|
||||||
|
|
||||||
return chunk;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -72,6 +72,11 @@ public class WrappedChunk implements IChunk {
|
||||||
return sections;
|
return sections;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public ChunkStatus getStatus() {
|
||||||
|
return ChunkStatus.LIGHT;
|
||||||
|
}
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
@Override
|
@Override
|
||||||
public BlockState setBlockState(BlockPos p_177436_1_, BlockState p_177436_2_, boolean p_177436_3_) {
|
public BlockState setBlockState(BlockPos p_177436_1_, BlockState p_177436_2_, boolean p_177436_3_) {
|
||||||
|
@ -139,11 +144,6 @@ public class WrappedChunk implements IChunk {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public ChunkStatus getStatus() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void removeTileEntity(BlockPos p_177425_1_) {
|
public void removeTileEntity(BlockPos p_177425_1_) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue