From 0a98e90afcb79f6311ae1369db712693aa704c98 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sat, 23 Nov 2013 09:10:20 +1300 Subject: [PATCH] Read desc Renamed the package utils to utilities Moved Values and DisguiseSounds into it. Renamed Values to DisguiseValues Renamed another method in DisguiseValues --- .../libraryaddict/disguise/DisguiseAPI.java | 6 ++--- .../disguise/DisguiseListener.java | 4 +-- .../libraryaddict/disguise/LibsDisguises.java | 12 ++++----- .../disguise/commands/DisguiseCommand.java | 2 +- .../commands/DisguiseEntityCommand.java | 2 +- .../commands/DisguiseHelpCommand.java | 2 +- .../commands/DisguisePlayerCommand.java | 2 +- .../commands/DisguiseRadiusCommand.java | 2 +- .../disguise/disguisetypes/Disguise.java | 19 ++++++------- .../disguise/disguisetypes/FlagWatcher.java | 4 +-- .../watchers/DroppedItemWatcher.java | 2 +- .../watchers/ItemFrameWatcher.java | 2 +- .../disguisetypes/watchers/LivingWatcher.java | 2 +- .../BaseDisguiseCommand.java | 2 +- .../DisguiseSound.java | 3 +-- .../DisguiseUtilities.java | 2 +- .../DisguiseValues.java} | 27 ++++++++++--------- .../{utils => utilities}/PacketsManager.java | 8 +++--- .../ReflectionManager.java | 2 +- .../{utils => utilities}/UpdateChecker.java | 2 +- 20 files changed, 53 insertions(+), 54 deletions(-) rename src/me/libraryaddict/disguise/{utils => utilities}/BaseDisguiseCommand.java (99%) rename src/me/libraryaddict/disguise/{disguisetypes => utilities}/DisguiseSound.java (98%) rename src/me/libraryaddict/disguise/{utils => utilities}/DisguiseUtilities.java (99%) rename src/me/libraryaddict/disguise/{disguisetypes/Values.java => utilities/DisguiseValues.java} (77%) rename src/me/libraryaddict/disguise/{utils => utilities}/PacketsManager.java (99%) rename src/me/libraryaddict/disguise/{utils => utilities}/ReflectionManager.java (99%) rename src/me/libraryaddict/disguise/{utils => utilities}/UpdateChecker.java (97%) diff --git a/src/me/libraryaddict/disguise/DisguiseAPI.java b/src/me/libraryaddict/disguise/DisguiseAPI.java index 13917d5f..7ae91095 100644 --- a/src/me/libraryaddict/disguise/DisguiseAPI.java +++ b/src/me/libraryaddict/disguise/DisguiseAPI.java @@ -4,9 +4,9 @@ import java.lang.reflect.Field; import me.libraryaddict.disguise.disguisetypes.Disguise; import me.libraryaddict.disguise.events.DisguiseEvent; import me.libraryaddict.disguise.events.UndisguiseEvent; -import me.libraryaddict.disguise.utils.PacketsManager; -import me.libraryaddict.disguise.utils.ReflectionManager; -import me.libraryaddict.disguise.utils.DisguiseUtilities; +import me.libraryaddict.disguise.utilities.DisguiseUtilities; +import me.libraryaddict.disguise.utilities.PacketsManager; +import me.libraryaddict.disguise.utilities.ReflectionManager; import org.bukkit.Bukkit; import org.bukkit.entity.Entity; diff --git a/src/me/libraryaddict/disguise/DisguiseListener.java b/src/me/libraryaddict/disguise/DisguiseListener.java index d7150de5..b3f60fe7 100644 --- a/src/me/libraryaddict/disguise/DisguiseListener.java +++ b/src/me/libraryaddict/disguise/DisguiseListener.java @@ -3,8 +3,8 @@ package me.libraryaddict.disguise; import java.util.HashMap; import me.libraryaddict.disguise.disguisetypes.Disguise; -import me.libraryaddict.disguise.utils.DisguiseUtilities; -import me.libraryaddict.disguise.utils.UpdateChecker; +import me.libraryaddict.disguise.utilities.DisguiseUtilities; +import me.libraryaddict.disguise.utilities.UpdateChecker; import org.bukkit.Bukkit; import org.bukkit.ChatColor; diff --git a/src/me/libraryaddict/disguise/LibsDisguises.java b/src/me/libraryaddict/disguise/LibsDisguises.java index 5fa27dbf..4a6fbbdb 100644 --- a/src/me/libraryaddict/disguise/LibsDisguises.java +++ b/src/me/libraryaddict/disguise/LibsDisguises.java @@ -7,19 +7,19 @@ import java.util.List; import me.libraryaddict.disguise.commands.*; import me.libraryaddict.disguise.disguisetypes.Disguise; -import me.libraryaddict.disguise.disguisetypes.DisguiseSound; import me.libraryaddict.disguise.disguisetypes.DisguiseType; import me.libraryaddict.disguise.disguisetypes.FlagWatcher; -import me.libraryaddict.disguise.disguisetypes.Values; import me.libraryaddict.disguise.disguisetypes.watchers.AgeableWatcher; import me.libraryaddict.disguise.disguisetypes.watchers.HorseWatcher; import me.libraryaddict.disguise.disguisetypes.watchers.LivingWatcher; import me.libraryaddict.disguise.disguisetypes.watchers.MinecartWatcher; import me.libraryaddict.disguise.disguisetypes.watchers.SlimeWatcher; import me.libraryaddict.disguise.disguisetypes.watchers.ZombieWatcher; -import me.libraryaddict.disguise.utils.DisguiseUtilities; -import me.libraryaddict.disguise.utils.PacketsManager; -import me.libraryaddict.disguise.utils.ReflectionManager; +import me.libraryaddict.disguise.utilities.DisguiseSound; +import me.libraryaddict.disguise.utilities.DisguiseUtilities; +import me.libraryaddict.disguise.utilities.PacketsManager; +import me.libraryaddict.disguise.utilities.ReflectionManager; +import me.libraryaddict.disguise.utilities.DisguiseValues; import org.bukkit.Bukkit; import org.bukkit.configuration.file.FileConfiguration; @@ -192,7 +192,7 @@ public class LibsDisguises extends JavaPlugin { break; } } - Values disguiseValues = new Values(disguiseType, nmsEntity.getClass(), entitySize); + DisguiseValues disguiseValues = new DisguiseValues(disguiseType, nmsEntity.getClass(), entitySize); WrappedDataWatcher dataWatcher = WrappedDataWatcher.getEntityWatcher(bukkitEntity); List watchers = dataWatcher.getWatchableObjects(); for (WrappedWatchableObject watch : watchers) diff --git a/src/me/libraryaddict/disguise/commands/DisguiseCommand.java b/src/me/libraryaddict/disguise/commands/DisguiseCommand.java index 8dc3239a..c71244b3 100644 --- a/src/me/libraryaddict/disguise/commands/DisguiseCommand.java +++ b/src/me/libraryaddict/disguise/commands/DisguiseCommand.java @@ -3,7 +3,7 @@ package me.libraryaddict.disguise.commands; import java.util.ArrayList; import me.libraryaddict.disguise.DisguiseAPI; import me.libraryaddict.disguise.disguisetypes.Disguise; -import me.libraryaddict.disguise.utils.BaseDisguiseCommand; +import me.libraryaddict.disguise.utilities.BaseDisguiseCommand; import org.apache.commons.lang.StringUtils; import org.bukkit.ChatColor; diff --git a/src/me/libraryaddict/disguise/commands/DisguiseEntityCommand.java b/src/me/libraryaddict/disguise/commands/DisguiseEntityCommand.java index 050efeac..64276960 100644 --- a/src/me/libraryaddict/disguise/commands/DisguiseEntityCommand.java +++ b/src/me/libraryaddict/disguise/commands/DisguiseEntityCommand.java @@ -3,7 +3,7 @@ package me.libraryaddict.disguise.commands; import java.util.ArrayList; import me.libraryaddict.disguise.DisguiseListener; import me.libraryaddict.disguise.disguisetypes.Disguise; -import me.libraryaddict.disguise.utils.BaseDisguiseCommand; +import me.libraryaddict.disguise.utilities.BaseDisguiseCommand; import org.apache.commons.lang.StringUtils; import org.bukkit.ChatColor; diff --git a/src/me/libraryaddict/disguise/commands/DisguiseHelpCommand.java b/src/me/libraryaddict/disguise/commands/DisguiseHelpCommand.java index a21a3f88..7d7d5fcc 100644 --- a/src/me/libraryaddict/disguise/commands/DisguiseHelpCommand.java +++ b/src/me/libraryaddict/disguise/commands/DisguiseHelpCommand.java @@ -5,7 +5,7 @@ import java.util.ArrayList; import java.util.Collections; import me.libraryaddict.disguise.disguisetypes.AnimalColor; import me.libraryaddict.disguise.disguisetypes.DisguiseType; -import me.libraryaddict.disguise.utils.BaseDisguiseCommand; +import me.libraryaddict.disguise.utilities.BaseDisguiseCommand; import org.apache.commons.lang.StringUtils; import org.bukkit.ChatColor; diff --git a/src/me/libraryaddict/disguise/commands/DisguisePlayerCommand.java b/src/me/libraryaddict/disguise/commands/DisguisePlayerCommand.java index 3192370c..4618a970 100644 --- a/src/me/libraryaddict/disguise/commands/DisguisePlayerCommand.java +++ b/src/me/libraryaddict/disguise/commands/DisguisePlayerCommand.java @@ -3,7 +3,7 @@ package me.libraryaddict.disguise.commands; import java.util.ArrayList; import me.libraryaddict.disguise.DisguiseAPI; import me.libraryaddict.disguise.disguisetypes.Disguise; -import me.libraryaddict.disguise.utils.BaseDisguiseCommand; +import me.libraryaddict.disguise.utilities.BaseDisguiseCommand; import org.apache.commons.lang.StringUtils; import org.bukkit.Bukkit; diff --git a/src/me/libraryaddict/disguise/commands/DisguiseRadiusCommand.java b/src/me/libraryaddict/disguise/commands/DisguiseRadiusCommand.java index 06409da0..178daeb6 100644 --- a/src/me/libraryaddict/disguise/commands/DisguiseRadiusCommand.java +++ b/src/me/libraryaddict/disguise/commands/DisguiseRadiusCommand.java @@ -3,7 +3,7 @@ package me.libraryaddict.disguise.commands; import java.util.ArrayList; import me.libraryaddict.disguise.DisguiseAPI; import me.libraryaddict.disguise.disguisetypes.Disguise; -import me.libraryaddict.disguise.utils.BaseDisguiseCommand; +import me.libraryaddict.disguise.utilities.BaseDisguiseCommand; import org.apache.commons.lang.StringUtils; import org.bukkit.ChatColor; diff --git a/src/me/libraryaddict/disguise/disguisetypes/Disguise.java b/src/me/libraryaddict/disguise/disguisetypes/Disguise.java index eab5f71f..8837d58d 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/Disguise.java +++ b/src/me/libraryaddict/disguise/disguisetypes/Disguise.java @@ -11,9 +11,10 @@ import me.libraryaddict.disguise.DisguiseAPI; import me.libraryaddict.disguise.disguisetypes.watchers.AgeableWatcher; import me.libraryaddict.disguise.disguisetypes.watchers.HorseWatcher; import me.libraryaddict.disguise.disguisetypes.watchers.ZombieWatcher; -import me.libraryaddict.disguise.utils.PacketsManager; -import me.libraryaddict.disguise.utils.ReflectionManager; -import me.libraryaddict.disguise.utils.DisguiseUtilities; +import me.libraryaddict.disguise.utilities.DisguiseUtilities; +import me.libraryaddict.disguise.utilities.PacketsManager; +import me.libraryaddict.disguise.utilities.ReflectionManager; +import me.libraryaddict.disguise.utilities.DisguiseValues; import org.bukkit.Location; import org.bukkit.entity.Horse.Variant; @@ -429,9 +430,8 @@ public abstract class Disguise { * datawatcher. */ private void setupWatcher() { - Class disguiseClass = Values.getEntityClass(getType()); - HashMap disguiseValues = Values.getMetaValues(getType()); - HashMap entityValues = Values.getMetaValues(DisguiseType.getType(entity.getType())); + HashMap disguiseValues = DisguiseValues.getMetaValues(getType()); + HashMap entityValues = DisguiseValues.getMetaValues(DisguiseType.getType(entity.getType())); // Start from 2 as they ALL share 0 and 1 for (int dataNo = 2; dataNo <= 31; dataNo++) { // STEP 1. Find out if the watcher has set data on it. @@ -509,16 +509,17 @@ public abstract class Disguise { default: break; } - Class entityClass = ReflectionManager.getNmsEntity(getEntity()).getClass(); + Class nmsEntityClass = ReflectionManager.getNmsEntity(getEntity()).getClass(); + Class nmsDisguiseClass = DisguiseValues.getNmsEntityClass(getType()); // If they both extend the same base class. They OBVIOUSLY share the same datavalue. Right..? - if (baseClass != null && baseClass.isAssignableFrom(disguiseClass) && baseClass.isAssignableFrom(entityClass)) + if (baseClass != null && baseClass.isAssignableFrom(nmsDisguiseClass) && baseClass.isAssignableFrom(nmsEntityClass)) continue; // So they don't extend a basic class. // Maybe if I check that they extend each other.. // Seeing as I only store the finished forms of entitys. This should raise no problems and allow for more shared // datawatchers. - if (entityClass.isAssignableFrom(disguiseClass) || disguiseClass.isAssignableFrom(entityClass)) + if (nmsEntityClass.isAssignableFrom(nmsDisguiseClass) || nmsDisguiseClass.isAssignableFrom(nmsEntityClass)) continue; // Well I can't find a reason I should leave it alone. They will probably conflict. // Time to set the value to the disguises value so no conflicts! diff --git a/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java index 496370af..62a965d5 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java @@ -19,8 +19,8 @@ import com.comphenix.protocol.reflect.StructureModifier; import com.comphenix.protocol.wrappers.WrappedWatchableObject; import me.libraryaddict.disguise.DisguiseAPI; -import me.libraryaddict.disguise.utils.DisguiseUtilities; -import me.libraryaddict.disguise.utils.ReflectionManager; +import me.libraryaddict.disguise.utilities.DisguiseUtilities; +import me.libraryaddict.disguise.utilities.ReflectionManager; public class FlagWatcher { public enum SlotType { diff --git a/src/me/libraryaddict/disguise/disguisetypes/watchers/DroppedItemWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/watchers/DroppedItemWatcher.java index 51dee18b..9276c6b7 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/watchers/DroppedItemWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/watchers/DroppedItemWatcher.java @@ -2,7 +2,7 @@ package me.libraryaddict.disguise.disguisetypes.watchers; import me.libraryaddict.disguise.disguisetypes.Disguise; import me.libraryaddict.disguise.disguisetypes.FlagWatcher; -import me.libraryaddict.disguise.utils.ReflectionManager; +import me.libraryaddict.disguise.utilities.ReflectionManager; import org.bukkit.inventory.ItemStack; diff --git a/src/me/libraryaddict/disguise/disguisetypes/watchers/ItemFrameWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/watchers/ItemFrameWatcher.java index 9ae76ea7..515f6730 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/watchers/ItemFrameWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/watchers/ItemFrameWatcher.java @@ -2,7 +2,7 @@ package me.libraryaddict.disguise.disguisetypes.watchers; import me.libraryaddict.disguise.disguisetypes.Disguise; import me.libraryaddict.disguise.disguisetypes.FlagWatcher; -import me.libraryaddict.disguise.utils.ReflectionManager; +import me.libraryaddict.disguise.utilities.ReflectionManager; import org.bukkit.inventory.ItemStack; diff --git a/src/me/libraryaddict/disguise/disguisetypes/watchers/LivingWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/watchers/LivingWatcher.java index e4d75ed6..44f0429d 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/watchers/LivingWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/watchers/LivingWatcher.java @@ -4,7 +4,7 @@ import java.lang.reflect.Method; import java.util.HashSet; import me.libraryaddict.disguise.disguisetypes.Disguise; import me.libraryaddict.disguise.disguisetypes.FlagWatcher; -import me.libraryaddict.disguise.utils.ReflectionManager; +import me.libraryaddict.disguise.utilities.ReflectionManager; import org.bukkit.potion.PotionEffect; import org.bukkit.potion.PotionEffectType; diff --git a/src/me/libraryaddict/disguise/utils/BaseDisguiseCommand.java b/src/me/libraryaddict/disguise/utilities/BaseDisguiseCommand.java similarity index 99% rename from src/me/libraryaddict/disguise/utils/BaseDisguiseCommand.java rename to src/me/libraryaddict/disguise/utilities/BaseDisguiseCommand.java index 37598a64..8c23ddca 100644 --- a/src/me/libraryaddict/disguise/utils/BaseDisguiseCommand.java +++ b/src/me/libraryaddict/disguise/utilities/BaseDisguiseCommand.java @@ -1,4 +1,4 @@ -package me.libraryaddict.disguise.utils; +package me.libraryaddict.disguise.utilities; import java.lang.reflect.Method; import java.util.ArrayList; diff --git a/src/me/libraryaddict/disguise/disguisetypes/DisguiseSound.java b/src/me/libraryaddict/disguise/utilities/DisguiseSound.java similarity index 98% rename from src/me/libraryaddict/disguise/disguisetypes/DisguiseSound.java rename to src/me/libraryaddict/disguise/utilities/DisguiseSound.java index 1f1efd47..5ce28a1f 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/DisguiseSound.java +++ b/src/me/libraryaddict/disguise/utilities/DisguiseSound.java @@ -1,9 +1,8 @@ -package me.libraryaddict.disguise.disguisetypes; +package me.libraryaddict.disguise.utilities; import java.util.HashMap; import java.util.HashSet; -import me.libraryaddict.disguise.utils.ReflectionManager; import org.bukkit.Sound; diff --git a/src/me/libraryaddict/disguise/utils/DisguiseUtilities.java b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java similarity index 99% rename from src/me/libraryaddict/disguise/utils/DisguiseUtilities.java rename to src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index 035ecc90..80eed4d1 100644 --- a/src/me/libraryaddict/disguise/utils/DisguiseUtilities.java +++ b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -1,4 +1,4 @@ -package me.libraryaddict.disguise.utils; +package me.libraryaddict.disguise.utilities; import java.lang.reflect.Field; import java.lang.reflect.Method; diff --git a/src/me/libraryaddict/disguise/disguisetypes/Values.java b/src/me/libraryaddict/disguise/utilities/DisguiseValues.java similarity index 77% rename from src/me/libraryaddict/disguise/disguisetypes/Values.java rename to src/me/libraryaddict/disguise/utilities/DisguiseValues.java index 38084444..d60eb43a 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/Values.java +++ b/src/me/libraryaddict/disguise/utilities/DisguiseValues.java @@ -1,20 +1,22 @@ -package me.libraryaddict.disguise.disguisetypes; +package me.libraryaddict.disguise.utilities; import java.util.HashMap; -public class Values { +import me.libraryaddict.disguise.disguisetypes.DisguiseType; - private static HashMap values = new HashMap(); +public class DisguiseValues { - public static Class getEntityClass(DisguiseType type) { - return getValues(type).getEntityClass(); + private static HashMap values = new HashMap(); + + public static Class getNmsEntityClass(DisguiseType type) { + return getDisguiseValues(type).getNmsEntityClass(); } public static HashMap getMetaValues(DisguiseType type) { - return getValues(type).getMetaValues(); + return getDisguiseValues(type).getMetaValues(); } - public static Values getValues(DisguiseType type) { + public static DisguiseValues getDisguiseValues(DisguiseType type) { switch (type) { case DONKEY: case MULE: @@ -41,19 +43,18 @@ public class Values { return values.get(type); } - private Class declared; + private Class nmsEntityClass; private int enumEntitySize; - private HashMap metaValues = new HashMap(); - public Values(DisguiseType type, Class classType, int entitySize) { + public DisguiseValues(DisguiseType type, Class classType, int entitySize) { values.put(type, this); enumEntitySize = entitySize; - declared = classType; + nmsEntityClass = classType; } - public Class getEntityClass() { - return declared; + public Class getNmsEntityClass() { + return nmsEntityClass; } public int getEntitySize(double paramDouble) { diff --git a/src/me/libraryaddict/disguise/utils/PacketsManager.java b/src/me/libraryaddict/disguise/utilities/PacketsManager.java similarity index 99% rename from src/me/libraryaddict/disguise/utils/PacketsManager.java rename to src/me/libraryaddict/disguise/utilities/PacketsManager.java index 26874601..551195f6 100644 --- a/src/me/libraryaddict/disguise/utils/PacketsManager.java +++ b/src/me/libraryaddict/disguise/utilities/PacketsManager.java @@ -1,4 +1,4 @@ -package me.libraryaddict.disguise.utils; +package me.libraryaddict.disguise.utilities; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; @@ -9,14 +9,12 @@ import java.util.Random; import me.libraryaddict.disguise.DisguiseAPI; import me.libraryaddict.disguise.LibsDisguises; import me.libraryaddict.disguise.disguisetypes.Disguise; -import me.libraryaddict.disguise.disguisetypes.DisguiseSound; import me.libraryaddict.disguise.disguisetypes.DisguiseType; import me.libraryaddict.disguise.disguisetypes.FlagWatcher; import me.libraryaddict.disguise.disguisetypes.MiscDisguise; import me.libraryaddict.disguise.disguisetypes.MobDisguise; import me.libraryaddict.disguise.disguisetypes.PlayerDisguise; -import me.libraryaddict.disguise.disguisetypes.Values; -import me.libraryaddict.disguise.disguisetypes.DisguiseSound.SoundType; +import me.libraryaddict.disguise.utilities.DisguiseSound.SoundType; import org.bukkit.Art; import org.bukkit.Bukkit; @@ -217,7 +215,7 @@ public class PacketsManager { } else if (disguise.getType().isMob()) { - Values values = Values.getValues(disguise.getType()); + DisguiseValues values = DisguiseValues.getDisguiseValues(disguise.getType()); Vector vec = disguisedEntity.getVelocity(); spawnPackets[0] = new PacketContainer(Packets.Server.MOB_SPAWN); StructureModifier mods = spawnPackets[0].getModifier(); diff --git a/src/me/libraryaddict/disguise/utils/ReflectionManager.java b/src/me/libraryaddict/disguise/utilities/ReflectionManager.java similarity index 99% rename from src/me/libraryaddict/disguise/utils/ReflectionManager.java rename to src/me/libraryaddict/disguise/utilities/ReflectionManager.java index ac0f4f31..bc508c55 100644 --- a/src/me/libraryaddict/disguise/utils/ReflectionManager.java +++ b/src/me/libraryaddict/disguise/utilities/ReflectionManager.java @@ -1,4 +1,4 @@ -package me.libraryaddict.disguise.utils; +package me.libraryaddict.disguise.utilities; import java.lang.reflect.Field; import java.lang.reflect.Method; diff --git a/src/me/libraryaddict/disguise/utils/UpdateChecker.java b/src/me/libraryaddict/disguise/utilities/UpdateChecker.java similarity index 97% rename from src/me/libraryaddict/disguise/utils/UpdateChecker.java rename to src/me/libraryaddict/disguise/utilities/UpdateChecker.java index 0d466516..4fbf811f 100644 --- a/src/me/libraryaddict/disguise/utils/UpdateChecker.java +++ b/src/me/libraryaddict/disguise/utilities/UpdateChecker.java @@ -1,4 +1,4 @@ -package me.libraryaddict.disguise.utils; +package me.libraryaddict.disguise.utilities; import java.io.BufferedReader; import java.io.IOException;