Clear full canvas at start fix

This commit is contained in:
William Burns 2016-01-15 19:08:25 +00:00
parent 733bfadf68
commit f22297418c

View File

@ -10,6 +10,7 @@ import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.DyeColor;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.Sound;
@ -219,6 +220,10 @@ public class Draw extends SoloGame
return;
Reset();
for (Block b : UtilBlock.getInBoundingBox(WorldData.GetDataLocs("PINK").get(0), WorldData.GetDataLocs("PINK").get(1), false))
if (b.getType().equals(Material.WOOL) && b.getData() == DyeColor.WHITE.getWoolData())
b.setType(Material.AIR);
}
@EventHandler