This commit is contained in:
YuTian 2024-07-05 01:00:33 +08:00
parent 910c578f99
commit a762e88ae2
3 changed files with 2 additions and 5 deletions

View File

@ -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;

View File

@ -231,7 +231,7 @@ public class BuildSpawner {
public enum SpawnMode { public enum SpawnMode {
MODE_1, MODE_1,
MODE_2; MODE_2
} }

View File

@ -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;
} }
} }