feat(docs): known bugs

This commit is contained in:
ineanto 2023-11-24 23:09:49 +01:00
parent 3ee51ef6a7
commit 46ce1036ea
2 changed files with 15 additions and 0 deletions

View file

@ -10,6 +10,15 @@ Coming soon! ⏳
--- ---
## Known bugs:
- Players who have operator (OP) status lose access to the Operator Items tab in creative mode
after disguising **(1.20 and up)**.
- When disguising and only changing their display name, players will have the new default
skins **(1.20 and up)**.
---
## Q/A ## Q/A
Q: Players are getting kicked when they send a message on versions above 1.19.2! Q: Players are getting kicked when they send a message on versions above 1.19.2!

View file

@ -1,5 +1,6 @@
package xyz.atnrch.nicko; package xyz.atnrch.nicko;
import com.comphenix.protocol.utility.MinecraftVersion;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.command.PluginCommand; import org.bukkit.command.PluginCommand;
@ -49,6 +50,11 @@ public class NickoBukkit extends JavaPlugin {
@Override @Override
public void onEnable() { public void onEnable() {
plugin = this; plugin = this;
if (!MinecraftVersion.VILLAGE_UPDATE.atOrAbove()) {
getLogger().severe("This version (" + MinecraftVersion.getCurrentVersion().getVersion() + ") is not supported by Nicko!");
}
configurationManager = new ConfigurationManager(getDataFolder()); configurationManager = new ConfigurationManager(getDataFolder());
configurationManager.saveDefaultConfig(); configurationManager.saveDefaultConfig();