diff --git a/README.md b/README.md index cd38263..cc81fce 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,17 @@ Coming soon! ⏳ Q: Players are getting kicked when they send a message on versions above 1.19.2! -A: Install [NoEncryption](https://www.spigotmc.org/resources/noencryption.102902/). +A: +This should not happen. +Try installing [NoEncryption](https://www.spigotmc.org/resources/noencryption.102902/). --- #### Version compatibility table -| Version | Plugin | -|----------|----------------------------------------------------------------------------| -| < 1.12.2 | Use [NickReloaded](https://www.spigotmc.org/resources/nickreloaded.46335/) | -| > 1.12.2 | Use Nicko | +| Version | Plugin | +|---------------|-----------------------------------------------------------------------------| +| 1.7 and lower | Unsupported | +| 1.8 - 1.12.2 | Use [NickReloaded](https://www.spigotmc.org/resources/nickreloaded.46335/) | +| 1.13 | Unsupported (The library I use for the GUIs doesn't support 1.13 and lower) | +| 1.14 and up | Use Nicko | diff --git a/src/main/java/xyz/atnrch/nicko/gui/items/admin/check/PlayerInformationItem.java b/src/main/java/xyz/atnrch/nicko/gui/items/admin/check/PlayerInformationItem.java index 5506edd..5ef2f7d 100644 --- a/src/main/java/xyz/atnrch/nicko/gui/items/admin/check/PlayerInformationItem.java +++ b/src/main/java/xyz/atnrch/nicko/gui/items/admin/check/PlayerInformationItem.java @@ -36,7 +36,11 @@ public class PlayerInformationItem extends AsyncItem { if (optionalProfile.isPresent()) { final NickoProfile profile = optionalProfile.get(); - final ItemTranslation translation = i18n.translateItem(I18NDict.GUI.Admin.CHECK, player.getName(), (profile.hasData() ? "§a✔" : "§c❌"), profile.getName(), profile.getSkin()); + final ItemTranslation translation = i18n.translateItem(I18NDict.GUI.Admin.CHECK, + player.getName(), + (profile.hasData() ? "§a✔" : "§c❌"), + (profile.getName() == null ? "§cN/A" : profile.getName()), + (profile.getSkin() == null ? "§cN/A" : profile.getSkin())); skull.setDisplayName("§6" + translation.getName()); translation.getLore().forEach(skull::addLoreLines); } else {