Java 类org.bukkit.event.world.ChunkEvent 实例源码

项目:PlotSquared    文件:SingleWorldListener.java   
private void handle(ChunkEvent event) {
    World world = event.getWorld();
    String name = world.getName();
    PlotAreaManager man = PS.get().getPlotAreaManager();
    if (!(man instanceof SinglePlotAreaManager)) return;
    if (!isPlotId(name)) return;

    markChunkAsClean(event.getChunk());
}