From d5a9b0c65f9c2572bc2cc61625c9f8f0906f3337 Mon Sep 17 00:00:00 2001 From: Redecouverte Date: Tue, 22 Feb 2011 13:33:30 +0100 Subject: [PATCH] really fixed setUpCourtyardRegion().. --- .../sk89q/worldguard/protection/ApplicableRegionSetTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/com/sk89q/worldguard/protection/ApplicableRegionSetTest.java b/tests/com/sk89q/worldguard/protection/ApplicableRegionSetTest.java index b9c90663..0fb4c91a 100644 --- a/tests/com/sk89q/worldguard/protection/ApplicableRegionSetTest.java +++ b/tests/com/sk89q/worldguard/protection/ApplicableRegionSetTest.java @@ -78,7 +78,7 @@ void setUpCourtyardRegion() { points.add(new BlockVector2D(0, 10)); //ProtectedRegion region = new ProtectedCuboidRegion(COURTYARD_ID, new BlockVector(0, 0, 0), new BlockVector(10, 10, 10)); - ProtectedRegion region = new ProtectedPolygonalRegion(COURTYARD_ID, new ArrayList(), 0, 10); + ProtectedRegion region = new ProtectedPolygonalRegion(COURTYARD_ID, points, 0, 10); AreaFlags flags = new AreaFlags(); flags.set(AreaFlags.FLAG_BUILD, State.NONE);