From 8bcc1ec3bb819536ea3c54a5521016894e5ba17a Mon Sep 17 00:00:00 2001 From: jojo Date: Sat, 26 Sep 2020 20:55:08 +0200 Subject: [PATCH] Remove Missile Random --- src/de/steamwar/misslewars/items/Missile.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/de/steamwar/misslewars/items/Missile.java b/src/de/steamwar/misslewars/items/Missile.java index c0e9417..4d44798 100644 --- a/src/de/steamwar/misslewars/items/Missile.java +++ b/src/de/steamwar/misslewars/items/Missile.java @@ -33,7 +33,6 @@ import com.sk89q.worldedit.session.ClipboardHolder; import com.sk89q.worldedit.world.World; import com.sk89q.worldedit.world.block.BlockType; import com.sk89q.worldedit.world.block.BlockTypes; -import de.steamwar.misslewars.Config; import de.steamwar.misslewars.MissileWars; import org.bukkit.Bukkit; import org.bukkit.Location; @@ -44,14 +43,16 @@ import org.bukkit.inventory.ItemStack; import java.io.File; import java.io.FileInputStream; 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 { private static final World world = new BukkitWorld(Bukkit.getWorlds().get(0)); private static final BlockType TNT = BlockTypes.TNT; private static final int GRAPH_SIZE = 7; - private static final Random r = new Random(); private final Clipboard clipboard; private final ItemStack item;