mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-01-09 17:57:36 +01:00
Fix some related checkstyles
This commit is contained in:
parent
980d6784df
commit
5db5b948cc
@ -40,6 +40,7 @@ public interface BlockSafety {
|
||||
|
||||
/**
|
||||
* Finds a portal-block next to the specified {@link Location}.
|
||||
*
|
||||
* @param location The {@link Location}
|
||||
* @return The next portal-block's {@link Location}.
|
||||
*/
|
||||
|
@ -44,6 +44,5 @@ public interface Destination<T extends DestinationInstance> {
|
||||
*
|
||||
* @return True if the SafeTeleporter will be used, false if not.
|
||||
*/
|
||||
// TODO: Check this in AsyncSafetyTeleporter
|
||||
boolean checkTeleportSafety();
|
||||
}
|
||||
|
@ -74,8 +74,8 @@ class DeleteCommand extends MultiverseCommand {
|
||||
issuer.getIssuer(),
|
||||
() -> {
|
||||
runDeleteCommand(issuer, world, parsedFlags);
|
||||
}, this.commandManager.formatMessage(
|
||||
issuer, MessageType.INFO, MVCorei18n.DELETE_PROMPT, "{world}", world.getName())));
|
||||
}, this.commandManager.formatMessage(issuer, MessageType.INFO, MVCorei18n.DELETE_PROMPT,
|
||||
"{world}", world.getName())));
|
||||
}
|
||||
|
||||
private void runDeleteCommand(MVCommandIssuer issuer, LoadedMultiverseWorld world, ParsedCommandFlags parsedFlags) {
|
||||
|
@ -1,9 +1,32 @@
|
||||
package org.mvplugins.multiverse.core.permissions;
|
||||
|
||||
public class CorePermissions {
|
||||
public static String WORLD_ACCESS = "multiverse.access";
|
||||
public static String WORLD_EXEMPT = "multiverse.exempt";
|
||||
public static String GAMEMODE_BYPASS = "mv.bypass.gamemode";
|
||||
public static String PLAYERLIMIT_BYPASS = "mv.bypass.playerlimit";
|
||||
public static final String TELEPORT = "multiverse.teleport";
|
||||
final class CorePermissions {
|
||||
/**
|
||||
* Permission to access a world.
|
||||
*/
|
||||
static final String WORLD_ACCESS = "multiverse.access";
|
||||
|
||||
/**
|
||||
* Permission to bypass the entry fee of a world.
|
||||
*/
|
||||
static final String WORLD_EXEMPT = "multiverse.exempt";
|
||||
|
||||
/**
|
||||
* Permission to bypass the gamemode of a world.
|
||||
*/
|
||||
static final String GAMEMODE_BYPASS = "mv.bypass.gamemode";
|
||||
|
||||
/**
|
||||
* Permission to bypass the player limit of a world.
|
||||
*/
|
||||
static final String PLAYERLIMIT_BYPASS = "mv.bypass.playerlimit";
|
||||
|
||||
/**
|
||||
* Permission to teleport to a destination.
|
||||
*/
|
||||
static final String TELEPORT = "multiverse.teleport";
|
||||
|
||||
private CorePermissions() {
|
||||
// Prevent instantiation as this is a static utility class
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user