mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-07-08 18:00:04 +00:00
35 lines
867 B
Java
35 lines
867 B
Java
package com.boydti.fawe.regions;
|
|
|
|
import com.sk89q.worldedit.entity.Player;
|
|
import com.sk89q.worldedit.math.BlockVector3;
|
|
import com.sk89q.worldedit.regions.CuboidRegion;
|
|
import com.sk89q.worldedit.regions.IDelegateRegion;
|
|
import com.sk89q.worldedit.regions.Region;
|
|
|
|
public class FaweMask implements IDelegateRegion {
|
|
private final Region region;
|
|
|
|
@Deprecated
|
|
public FaweMask(final BlockVector3 pos1, final BlockVector3 pos2) {
|
|
this(new CuboidRegion(pos1, pos2));
|
|
}
|
|
|
|
public FaweMask(Region region) {
|
|
this.region = region;
|
|
}
|
|
|
|
@Override
|
|
public Region getRegion() {
|
|
return region;
|
|
}
|
|
|
|
public boolean isValid(Player player, FaweMaskManager.MaskType type) {
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
public Region clone() {
|
|
throw new UnsupportedOperationException("Clone not supported");
|
|
}
|
|
}
|