mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-05 04:26:42 +00:00
Converted API over to use new World.
This breaks backwards compatibility for all getWorld() methods, but shim methods were added for binary compatibility with method calls that use LocalWorld.
This commit is contained in:
@ -30,6 +30,7 @@ import com.sk89q.worldedit.LocalWorld;
|
||||
import com.sk89q.worldedit.Vector;
|
||||
import com.sk89q.worldedit.regions.polyhedron.Edge;
|
||||
import com.sk89q.worldedit.regions.polyhedron.Triangle;
|
||||
import com.sk89q.worldedit.world.World;
|
||||
|
||||
public class ConvexPolyhedralRegion extends AbstractRegion {
|
||||
/**
|
||||
@ -72,6 +73,11 @@ public class ConvexPolyhedralRegion extends AbstractRegion {
|
||||
*
|
||||
* @param world
|
||||
*/
|
||||
public ConvexPolyhedralRegion(World world) {
|
||||
super(world);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public ConvexPolyhedralRegion(LocalWorld world) {
|
||||
super(world);
|
||||
}
|
||||
@ -79,7 +85,7 @@ public class ConvexPolyhedralRegion extends AbstractRegion {
|
||||
/**
|
||||
* Constructs an independent copy of the given region.
|
||||
*
|
||||
* @param world
|
||||
* @param region the region to copy
|
||||
*/
|
||||
public ConvexPolyhedralRegion(ConvexPolyhedralRegion region) {
|
||||
this(region.world);
|
||||
|
Reference in New Issue
Block a user