26
26
import org .dynmap .markers .MarkerAPI ;
27
27
import org .dynmap .markers .MarkerSet ;
28
28
29
- import com .sk89q .worldedit .BlockVector ;
30
- import com .sk89q .worldedit .BlockVector2D ;
29
+ import com .sk89q .worldedit .math . BlockVector2 ;
30
+ import com .sk89q .worldedit .math . BlockVector3 ;
31
31
import com .sk89q .worldedit .world .World ;
32
32
import com .sk89q .worldguard .WorldGuard ;
33
33
import com .sk89q .worldguard .bukkit .WorldGuardPlugin ;
36
36
import com .sk89q .worldguard .internal .platform .WorldGuardPlatform ;
37
37
import com .sk89q .worldguard .protection .flags .BooleanFlag ;
38
38
import com .sk89q .worldguard .protection .flags .Flag ;
39
- import com .sk89q .worldguard .protection .flags .Flags ;
40
39
import com .sk89q .worldguard .protection .flags .registry .FlagRegistry ;
41
40
import com .sk89q .worldguard .protection .managers .RegionManager ;
42
41
import com .sk89q .worldguard .protection .regions .ProtectedPolygonalRegion ;
@@ -244,8 +243,8 @@ private void handleRegion(World world, ProtectedRegion region, Map<String, AreaM
244
243
if (isVisible (region .getId (), world .getName ())) {
245
244
String id = region .getId ();
246
245
RegionType tn = region .getType ();
247
- BlockVector l0 = region .getMinimumPoint ();
248
- BlockVector l1 = region .getMaximumPoint ();
246
+ BlockVector3 l0 = region .getMinimumPoint ();
247
+ BlockVector3 l1 = region .getMaximumPoint ();
249
248
250
249
if (tn == RegionType .CUBOID ) { /* Cubiod region? */
251
250
/* Make outline */
@@ -258,11 +257,11 @@ private void handleRegion(World world, ProtectedRegion region, Map<String, AreaM
258
257
}
259
258
else if (tn == RegionType .POLYGON ) {
260
259
ProtectedPolygonalRegion ppr = (ProtectedPolygonalRegion )region ;
261
- List <BlockVector2D > points = ppr .getPoints ();
260
+ List <BlockVector2 > points = ppr .getPoints ();
262
261
x = new double [points .size ()];
263
262
z = new double [points .size ()];
264
263
for (int i = 0 ; i < points .size (); i ++) {
265
- BlockVector2D pt = points .get (i );
264
+ BlockVector2 pt = points .get (i );
266
265
x [i ] = pt .getX (); z [i ] = pt .getZ ();
267
266
}
268
267
}
0 commit comments