@@ -0,0 +1,1701 @@
+package in.twizmwaz.cardinal.module.modules.destroyable;%0A%0Aimport in.twizmwaz.cardinal.module.GameObjective;%0Aimport in.twizmwaz.cardinal.teams.PgmTeam;%0Aimport org.bukkit.block.Block;%0Aimport org.bukkit.event.EventHandler;%0Aimport org.bukkit.event.HandlerList;%0Aimport org.bukkit.event.block.BlockBreakEvent;%0A%0Aimport java.util.List;%0A%0Apublic class Destroyable implements GameObjective %7B%0A    %0A    private final PgmTeam team;%0A    private final String name;%0A    private final String id;%0A    %0A    private List%3CBlock%3E blocks;%0A    private double complete;%0A    private double required;%0A    private boolean completed;%0A    %0A    protected Destroyable(final PgmTeam team, final String name, final String id, final List%3CBlock%3E blocks, double required) %7B%0A        this.team = team;%0A        this.name = name;%0A        this.id = id;%0A        this.blocks = blocks;%0A        this.complete = 0;%0A        this.required = required;%0A        this.completed = false;%0A    %7D%0A    %0A    @Override%0A    public PgmTeam getTeam() %7B%0A        return this.team;%0A    %7D%0A%0A    @Override%0A    public String getName() %7B%0A        return this.name;%0A    %7D%0A%0A    @Override%0A    public String getId() %7B%0A        return this.id;%0A    %7D%0A%0A    @Override%0A    public boolean isTouched() %7B%0A        return this.complete %3E 0;%0A    %7D%0A%0A    @Override%0A    public boolean isComplete() %7B%0A        return this.completed;%0A    %7D%0A%0A    @Override%0A    public void unload() %7B%0A        HandlerList.unregisterAll(this);%0A    %7D%0A    %0A    @EventHandler%0A    public void onBlockBreak(BlockBreakEvent event) %7B%0A        if (this.blocks.contains(event.getBlock())) this.complete = this.complete + (1 / this.blocks.size());%0A        if (this.complete %3E= this.required) this.completed = true;%0A    %7D%0A    %0A%7D%0A

Add destroyable module without parser