Refactor Anti-Xray and make some fixes to it (#5938)

This commit is contained in:
stonar96
2021-06-23 10:39:02 +02:00
parent 2c17a86e82
commit c00618d009
3 changed files with 505 additions and 538 deletions

View File

@@ -52,7 +52,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
- private final LevelChunkSection[] sections;
+ private LevelChunkSection[] sections; // Paper - remove final
private Set<BlockPos> tiles;
private World world; // Paper - Anti-Xray - Add world
private World world; // Paper - Anti-Xray - Add parameters
@@ -0,0 +0,0 @@ public final class CraftChunkData implements ChunkGenerator.ChunkData {
return this.sections;