mirror of
https://github.com/plexusorg/Module-NickMiniMessage.git
synced 2025-07-02 02:16:40 +00:00
Fix compile errors
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
package me.videogamesm12.nickmm;
|
||||
package dev.plex.module.nickmm;
|
||||
|
||||
import com.earth2me.essentials.Essentials;
|
||||
import dev.plex.module.PlexModule;
|
||||
import me.videogamesm12.nickmm.command.NickMMCommand;
|
||||
import dev.plex.module.nickmm.command.NickMMCommand;
|
||||
import org.bukkit.Bukkit;
|
||||
|
||||
public class NickMiniMessageModule extends PlexModule
|
||||
@ -12,7 +12,7 @@ public class NickMiniMessageModule extends PlexModule
|
||||
{
|
||||
if (!Bukkit.getPluginManager().isPluginEnabled("Essentials"))
|
||||
{
|
||||
throw new IllegalStateException("We need Essentials for this module to work!");
|
||||
throw new IllegalStateException("EssentialsX is required for this module to work!");
|
||||
}
|
||||
|
||||
registerCommand(new NickMMCommand());
|
@ -1,4 +1,4 @@
|
||||
package me.videogamesm12.nickmm.command;
|
||||
package dev.plex.module.nickmm.command;
|
||||
|
||||
import com.earth2me.essentials.I18n;
|
||||
import com.earth2me.essentials.User;
|
||||
@ -6,9 +6,8 @@ import dev.plex.command.PlexCommand;
|
||||
import dev.plex.command.annotation.CommandParameters;
|
||||
import dev.plex.command.annotation.CommandPermissions;
|
||||
import dev.plex.command.source.RequiredCommandSource;
|
||||
import dev.plex.util.PlexUtils;
|
||||
import dev.plex.module.nickmm.NickMiniMessageModule;
|
||||
import dev.plex.util.minimessage.SafeMiniMessage;
|
||||
import me.videogamesm12.nickmm.NickMiniMessageModule;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.format.NamedTextColor;
|
||||
import net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer;
|
@ -1,4 +1,4 @@
|
||||
name: Module-NickMiniMessage
|
||||
main: me.videogamesm12.nickmm.NickMiniMessageModule
|
||||
main: dev.plex.module.nickmm.NickMiniMessageModule
|
||||
description: Module for Plex that adds a command allowing for Essentials nicknames to be created with MiniMessage
|
||||
version: 1.0
|
||||
version: 1.4-SNAPSHOT
|
Reference in New Issue
Block a user