Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
1package net.minecraft.server;
2
3import java.io.ByteArrayOutputStream;
4
5class ChunkBuffer extends ByteArrayOutputStream {
6
7 private int b;
8 private int c;
9
10 final RegionFile a;
11
12 public ChunkBuffer(RegionFile regionfile, int i, int j) {
13 super(8096);
14 this.a = regionfile;
15 this.b = i;
16 this.c = j;
17 }
18
19 public void close() {
20 this.a.a(this.b, this.c, this.buf, this.count);
21 }
22}