Clear full canvas at start fix
This commit is contained in:
parent
733bfadf68
commit
f22297418c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user