SteamWar/MissileWars
Archiviert
13
0

Remove Missile Random

Dieser Commit ist enthalten in:
jojo 2020-09-26 20:55:08 +02:00
Ursprung 8140ad4072
Commit 8bcc1ec3bb

Datei anzeigen

@ -33,7 +33,6 @@ import com.sk89q.worldedit.session.ClipboardHolder;
import com.sk89q.worldedit.world.World; import com.sk89q.worldedit.world.World;
import com.sk89q.worldedit.world.block.BlockType; import com.sk89q.worldedit.world.block.BlockType;
import com.sk89q.worldedit.world.block.BlockTypes; import com.sk89q.worldedit.world.block.BlockTypes;
import de.steamwar.misslewars.Config;
import de.steamwar.misslewars.MissileWars; import de.steamwar.misslewars.MissileWars;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.Location; import org.bukkit.Location;
@ -44,14 +43,16 @@ import org.bukkit.inventory.ItemStack;
import java.io.File; import java.io.File;
import java.io.FileInputStream; import java.io.FileInputStream;
import java.io.IOException; import java.io.IOException;
import java.util.*; import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.Random;
public class Missile extends SpecialItem { public class Missile extends SpecialItem {
private static final World world = new BukkitWorld(Bukkit.getWorlds().get(0)); private static final World world = new BukkitWorld(Bukkit.getWorlds().get(0));
private static final BlockType TNT = BlockTypes.TNT; private static final BlockType TNT = BlockTypes.TNT;
private static final int GRAPH_SIZE = 7; private static final int GRAPH_SIZE = 7;
private static final Random r = new Random();
private final Clipboard clipboard; private final Clipboard clipboard;
private final ItemStack item; private final ItemStack item;