PlotBlock cache / events / flags

This commit is contained in:
Jesse Boyd
2016-06-04 06:20:13 +10:00
parent f84766074e
commit ca5d3a818b
26 changed files with 171 additions and 138 deletions

View File

@ -1066,7 +1066,7 @@ public class BukkitChunkManager extends ChunkManager {
if (typeId == 0) {
ids[y] = PlotBlock.EVERYTHING;
} else {
ids[y] = new PlotBlock((short) typeId, block.getData());
ids[y] = PlotBlock.get((short) typeId, block.getData());
}
}
if (!id.equals(Material.AIR)) {