General Troubleshooting
Platforms
Spigot / Bukkit, Other (please specify in the additional information text field at the bottom)
Affected Minecraft Version(s)
ALL of the Labymod Versions
Expected Behaviour
I can disable other addon with below code, but when im going to disable "labysminimap" it doesnt function at all.
Code Example for Reproduction Steps
@Override
public void onEnable() {
instance = this;
LabyModProtocolService.initialize(this);
getServer().getPluginManager().registerEvents(new Listener() {
@EventHandler
public void onLabyModPlayerJoin(LabyModPlayerJoinEvent event) {
Player player = event.labyModPlayer().getPlayer();
List<String> addonsToDisable = new ArrayList<>();
addonsToDisable.add("keystrokes"); // it works, getting disabled.
addonsToDisable.add("labysminimap"); // it doesnt function
LabyModPlayer labyModPlayer = LabyModProtocolService.get().getPlayer(player.getUniqueId());
labyModPlayer.disableAddons(addonsToDisable);
requestAddons(player);
player.sendMessage(ChatColor.RED + "LabyMod Integration has been enabled, due to the server rules Minimap addon has been disabled on this gamemode.");
}
}, this);
}
Exception or Error
Additional Information
No response
General Troubleshooting
Platforms
Spigot / Bukkit, Other (please specify in the additional information text field at the bottom)
Affected Minecraft Version(s)
ALL of the Labymod Versions
Expected Behaviour
I can disable other addon with below code, but when im going to disable "labysminimap" it doesnt function at all.
Code Example for Reproduction Steps
Exception or Error
Additional Information
No response