mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-18 15:17:36 +01:00
really fixed setUpCourtyardRegion()..
This commit is contained in:
parent
2015604fe2
commit
d5a9b0c65f
@ -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<BlockVector2D>(), 0, 10);
|
||||
ProtectedRegion region = new ProtectedPolygonalRegion(COURTYARD_ID, points, 0, 10);
|
||||
|
||||
AreaFlags flags = new AreaFlags();
|
||||
flags.set(AreaFlags.FLAG_BUILD, State.NONE);
|
||||
|
Loading…
Reference in New Issue
Block a user