mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-11 11:40:29 +00:00
Fix builds failing
This commit is contained in:
parent
ec6512aa77
commit
b591bb96f0
1 changed files with 3 additions and 1 deletions
|
@ -86,7 +86,7 @@ public class DisguiseUtilities {
|
|||
private static long velocityTime;
|
||||
private static int velocityID;
|
||||
private static HashMap<UUID, ArrayList<Integer>> disguiseLoading = new HashMap<>();
|
||||
private static boolean runningPaper = Bukkit.getServer().getBukkitVersion().contains("Paper");
|
||||
private static boolean runningPaper;
|
||||
|
||||
public static void setPlayerVelocity(Player player) {
|
||||
velocityID = player.getEntityId();
|
||||
|
@ -859,6 +859,8 @@ public class DisguiseUtilities {
|
|||
}
|
||||
|
||||
public static void init(LibsDisguises disguises) {
|
||||
runningPaper = Bukkit.getServer().getBukkitVersion().contains("Paper");
|
||||
|
||||
GsonBuilder gsonBuilder = new GsonBuilder();
|
||||
gsonBuilder.registerTypeAdapter(MetaIndex.class, new SerializerMetaIndex());
|
||||
gsonBuilder.registerTypeAdapter(WrappedGameProfile.class, new SerializerGameProfile());
|
||||
|
|
Loading…
Reference in a new issue