mirror of
https://github.com/plexusorg/Plex.git
synced 2026-07-14 21:44:55 +00:00
Updater improvements, toggle pvp, Dialog API
This commit is contained in:
@@ -5,7 +5,7 @@ import com.mojang.brigadier.builder.LiteralArgumentBuilder;
|
||||
import dev.plex.command.ServerCommand;
|
||||
import dev.plex.command.ServerCommandContext;
|
||||
import dev.plex.command.exception.CommandFailException;
|
||||
import dev.plex.menu.impl.MaterialMenu;
|
||||
import dev.plex.menu.dialog.MaterialDialog;
|
||||
import dev.plex.util.GameRuleUtil;
|
||||
import dev.plex.util.PlexLog;
|
||||
|
||||
@@ -126,7 +126,7 @@ public class DebugCMD extends ServerCommand
|
||||
{
|
||||
return context.messageComponent("noPermissionConsole");
|
||||
}
|
||||
new MaterialMenu().open(playerSender);
|
||||
new MaterialDialog().open(playerSender);
|
||||
return null;
|
||||
}
|
||||
return context.usage();
|
||||
|
||||
Reference in New Issue
Block a user