From 9739caf2f14c1ef3e38282bc9559b90c30b166a9 Mon Sep 17 00:00:00 2001 From: Jitse Boonstra Date: Thu, 21 Feb 2019 22:43:58 +0100 Subject: [PATCH] Added a reminder for me to not recreate issue #13. --- .../java/net/jitse/npclib/api/wrapper/GameProfileWrapper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/commons/src/main/java/net/jitse/npclib/api/wrapper/GameProfileWrapper.java b/commons/src/main/java/net/jitse/npclib/api/wrapper/GameProfileWrapper.java index 5443ac1..24b81aa 100644 --- a/commons/src/main/java/net/jitse/npclib/api/wrapper/GameProfileWrapper.java +++ b/commons/src/main/java/net/jitse/npclib/api/wrapper/GameProfileWrapper.java @@ -18,6 +18,7 @@ public class GameProfileWrapper { // TODO: Add this class to the v1_7_R4 module of NPCLib. + // This doesn't seem to work well with modified versions of Spigot (see issue #13). private final boolean is1_7 = Bukkit.getBukkitVersion().contains("1.7"); private final Class gameProfileClazz = Reflection.getClass((is1_7 ? "net.minecraft.util." : "") + "com.mojang.authlib.GameProfile");