Fix
This commit is contained in:
parent
910c578f99
commit
a762e88ae2
|
@ -5,7 +5,6 @@ import com.io.yutian.colorblindwar.util.*;
|
||||||
import com.sk89q.worldedit.EditSession;
|
import com.sk89q.worldedit.EditSession;
|
||||||
import com.sk89q.worldedit.WorldEdit;
|
import com.sk89q.worldedit.WorldEdit;
|
||||||
import com.sk89q.worldedit.bukkit.BukkitAdapter;
|
import com.sk89q.worldedit.bukkit.BukkitAdapter;
|
||||||
import com.sk89q.worldedit.function.mask.BlockTypeMask;
|
|
||||||
import com.sk89q.worldedit.function.mask.InverseSingleBlockTypeMask;
|
import com.sk89q.worldedit.function.mask.InverseSingleBlockTypeMask;
|
||||||
import com.sk89q.worldedit.function.mask.Mask;
|
import com.sk89q.worldedit.function.mask.Mask;
|
||||||
import com.sk89q.worldedit.function.operation.Operations;
|
import com.sk89q.worldedit.function.operation.Operations;
|
||||||
|
@ -13,7 +12,6 @@ import com.sk89q.worldedit.math.BlockVector3;
|
||||||
import com.sk89q.worldedit.regions.CuboidRegion;
|
import com.sk89q.worldedit.regions.CuboidRegion;
|
||||||
import com.sk89q.worldedit.world.block.BlockTypes;
|
import com.sk89q.worldedit.world.block.BlockTypes;
|
||||||
import net.kyori.adventure.text.Component;
|
import net.kyori.adventure.text.Component;
|
||||||
import net.kyori.adventure.text.TextComponent;
|
|
||||||
import net.kyori.adventure.text.format.TextColor;
|
import net.kyori.adventure.text.format.TextColor;
|
||||||
import org.bukkit.*;
|
import org.bukkit.*;
|
||||||
import org.bukkit.boss.BarColor;
|
import org.bukkit.boss.BarColor;
|
||||||
|
|
|
@ -231,7 +231,7 @@ public class BuildSpawner {
|
||||||
public enum SpawnMode {
|
public enum SpawnMode {
|
||||||
|
|
||||||
MODE_1,
|
MODE_1,
|
||||||
MODE_2;
|
MODE_2
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,8 +38,7 @@ public class RandomUtil {
|
||||||
double rx = getRandomDouble(minX, maxX, 3);
|
double rx = getRandomDouble(minX, maxX, 3);
|
||||||
double ry = getRandomDouble(minY, maxY, 3);
|
double ry = getRandomDouble(minY, maxY, 3);
|
||||||
double rz = getRandomDouble(minZ, maxZ, 3);
|
double rz = getRandomDouble(minZ, maxZ, 3);
|
||||||
Location location = new Location(world, rx, ry, rz);
|
return new Location(world, rx, ry, rz);
|
||||||
return location;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user