You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the latest version of the LabyMod 4 Server API.
I am using the latest version of LabyMod.
I have checked for similar issues on the Issue-tracker.
I have checked for Pull Requests that might already address this issue.
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
@OverridepublicvoidonEnable() {
instance = this;
LabyModProtocolService.initialize(this);
getServer().getPluginManager().registerEvents(newListener() {
@EventHandlerpublicvoidonLabyModPlayerJoin(LabyModPlayerJoinEventevent) {
Playerplayer = event.labyModPlayer().getPlayer();
List<String> addonsToDisable = newArrayList<>();
addonsToDisable.add("keystrokes"); // it works, getting disabled.addonsToDisable.add("labysminimap"); // it doesnt functionLabyModPlayerlabyModPlayer = 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
N/A
Additional Information
No response
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: