diff --git a/src/discord/MagicBot.java b/src/discord/MagicBot.java index b74cc2a8..8744e3e4 100644 --- a/src/discord/MagicBot.java +++ b/src/discord/MagicBot.java @@ -10,7 +10,6 @@ package discord; import discord.handlers.*; -import engine.Enum; import engine.gameManager.ConfigManager; import net.dv8tion.jda.api.JDA; import net.dv8tion.jda.api.JDABuilder; @@ -29,8 +28,6 @@ import org.pmw.tinylog.writers.RollingFileWriter; import javax.security.auth.login.LoginException; import java.io.*; -import java.net.MalformedURLException; -import java.net.URL; import java.util.Arrays; import java.util.EnumSet; import java.util.List; diff --git a/src/engine/Enum.java b/src/engine/Enum.java index 4d312b41..7bfa1d5f 100644 --- a/src/engine/Enum.java +++ b/src/engine/Enum.java @@ -24,7 +24,6 @@ import java.util.Collections; import java.util.EnumSet; import java.util.HashMap; import java.util.concurrent.ThreadLocalRandom; -import java.util.regex.Pattern; /* * MagicBane engine enumeration class. diff --git a/src/engine/ai/MobileFSM.java b/src/engine/ai/MobileFSM.java index 97e256e2..fe6a2aa3 100644 --- a/src/engine/ai/MobileFSM.java +++ b/src/engine/ai/MobileFSM.java @@ -16,7 +16,10 @@ import engine.Enum.GameObjectType; import engine.InterestManagement.WorldGrid; import engine.ai.utilities.CombatUtilities; import engine.ai.utilities.MovementUtilities; -import engine.gameManager.*; +import engine.gameManager.BuildingManager; +import engine.gameManager.CombatManager; +import engine.gameManager.MovementManager; +import engine.gameManager.PowersManager; import engine.math.Vector3fImmutable; import engine.net.DispatchMessage; import engine.net.client.msg.PerformActionMsg; diff --git a/src/engine/ai/MobileFSMManager.java b/src/engine/ai/MobileFSMManager.java index 0529224b..a0458546 100644 --- a/src/engine/ai/MobileFSMManager.java +++ b/src/engine/ai/MobileFSMManager.java @@ -16,8 +16,6 @@ import engine.server.MBServerStatics; import engine.util.ThreadUtils; import org.pmw.tinylog.Logger; -import java.util.HashSet; - public class MobileFSMManager { diff --git a/src/engine/gameManager/ConfigManager.java b/src/engine/gameManager/ConfigManager.java index 61161c62..9336c152 100644 --- a/src/engine/gameManager/ConfigManager.java +++ b/src/engine/gameManager/ConfigManager.java @@ -16,7 +16,6 @@ import engine.Enum; import engine.net.NetMsgHandler; import engine.server.login.LoginServer; import engine.server.world.WorldServer; -import jdk.nashorn.internal.runtime.regexp.joni.ast.StringNode; import org.pmw.tinylog.Logger; import java.util.HashMap; diff --git a/src/engine/gameManager/MovementManager.java b/src/engine/gameManager/MovementManager.java index eafc4192..60785270 100644 --- a/src/engine/gameManager/MovementManager.java +++ b/src/engine/gameManager/MovementManager.java @@ -15,15 +15,11 @@ import engine.Enum.SourceType; import engine.InterestManagement.InterestManager; import engine.InterestManagement.WorldGrid; import engine.exception.MsgSendException; -import engine.job.JobContainer; -import engine.job.JobScheduler; -import engine.jobs.ChangeAltitudeJob; import engine.math.Bounds; import engine.math.Vector3f; import engine.math.Vector3fImmutable; import engine.net.DispatchMessage; import engine.net.client.ClientConnection; -import engine.net.client.msg.ChangeAltitudeMsg; import engine.net.client.msg.MoveToPointMsg; import engine.net.client.msg.TeleportToPointMsg; import engine.net.client.msg.UpdateStateMsg; diff --git a/src/engine/net/client/handlers/AbandonAssetMsgHandler.java b/src/engine/net/client/handlers/AbandonAssetMsgHandler.java index a6312d2a..648b5e87 100644 --- a/src/engine/net/client/handlers/AbandonAssetMsgHandler.java +++ b/src/engine/net/client/handlers/AbandonAssetMsgHandler.java @@ -12,8 +12,6 @@ import engine.net.client.msg.ErrorPopupMsg; import engine.objects.*; import org.pmw.tinylog.Logger; -import java.util.concurrent.ConcurrentHashMap; - /* * @Author: * @Summary: Processes application protocol message which processes diff --git a/src/engine/net/client/handlers/DestroyBuildingHandler.java b/src/engine/net/client/handlers/DestroyBuildingHandler.java index 335f5e57..d26723ee 100644 --- a/src/engine/net/client/handlers/DestroyBuildingHandler.java +++ b/src/engine/net/client/handlers/DestroyBuildingHandler.java @@ -9,7 +9,6 @@ import engine.net.client.ClientConnection; import engine.net.client.msg.ClientNetMsg; import engine.net.client.msg.DestroyBuildingMsg; import engine.net.client.msg.ErrorPopupMsg; -import engine.net.client.msg.PlaceAssetMsg; import engine.objects.*; /* diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index c5856358..c54af843 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -32,7 +32,6 @@ import engine.net.client.msg.ManageCityAssetsMsg; import engine.net.client.msg.PetMsg; import engine.net.client.msg.PlaceAssetMsg; import engine.powers.EffectsBase; -import engine.powers.PowersBase; import engine.server.MBServerStatics; import engine.server.world.WorldServer; import org.joda.time.DateTime; diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index 371b44f5..c00c0315 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -53,7 +53,9 @@ import org.pmw.tinylog.labelers.TimestampLabeler; import org.pmw.tinylog.policies.StartupPolicy; import org.pmw.tinylog.writers.RollingFileWriter; -import java.io.*; +import java.io.File; +import java.io.FileWriter; +import java.io.IOException; import java.net.InetAddress; import java.nio.file.Files; import java.nio.file.Paths; diff --git a/src/engine/util/MiscUtils.java b/src/engine/util/MiscUtils.java index bb2e2ec0..03f79ed6 100644 --- a/src/engine/util/MiscUtils.java +++ b/src/engine/util/MiscUtils.java @@ -12,8 +12,6 @@ package engine.util; import engine.gameManager.ConfigManager; import engine.server.MBServerStatics; -import java.util.regex.Pattern; - public class MiscUtils {