mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-12 15:07:22 +01:00
Fix a junit test error, thanks andrewkm
This commit is contained in:
parent
4b8c293c43
commit
762368cef5
@ -338,8 +338,6 @@ public class DisguiseUtilities {
|
|||||||
} catch (Exception ignored) {
|
} catch (Exception ignored) {
|
||||||
}
|
}
|
||||||
|
|
||||||
runningGeyser = Bukkit.getPluginManager().getPlugin("Geyser-Spigot") != null;
|
|
||||||
|
|
||||||
if (LibsDisguises.getInstance() == null) {
|
if (LibsDisguises.getInstance() == null) {
|
||||||
profileCache = null;
|
profileCache = null;
|
||||||
sanitySkinCacheFile = null;
|
sanitySkinCacheFile = null;
|
||||||
@ -348,6 +346,7 @@ public class DisguiseUtilities {
|
|||||||
profileCache = new File(LibsDisguises.getInstance().getDataFolder(), "SavedSkins");
|
profileCache = new File(LibsDisguises.getInstance().getDataFolder(), "SavedSkins");
|
||||||
sanitySkinCacheFile = new File(LibsDisguises.getInstance().getDataFolder(), "SavedSkins/sanity.json");
|
sanitySkinCacheFile = new File(LibsDisguises.getInstance().getDataFolder(), "SavedSkins/sanity.json");
|
||||||
savedDisguises = new File(LibsDisguises.getInstance().getDataFolder(), "SavedDisguises");
|
savedDisguises = new File(LibsDisguises.getInstance().getDataFolder(), "SavedDisguises");
|
||||||
|
runningGeyser = Bukkit.getPluginManager().getPlugin("Geyser-Spigot") != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
entityItem = EntityType.fromName("item");
|
entityItem = EntityType.fromName("item");
|
||||||
|
Loading…
Reference in New Issue
Block a user