mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-01-25 09:41:23 +01:00
Fix remove success message key
This commit is contained in:
parent
db0d5da5ce
commit
80fcf8fe19
@ -47,7 +47,7 @@ class RemoveCommand extends MultiverseCommand {
|
|||||||
worldManager.removeWorld(worldName)
|
worldManager.removeWorld(worldName)
|
||||||
.onSuccess(removedWorldName -> {
|
.onSuccess(removedWorldName -> {
|
||||||
Logging.fine("World remove success: " + removedWorldName);
|
Logging.fine("World remove success: " + removedWorldName);
|
||||||
issuer.sendInfo(MVCorei18n.REMOVEWORLD_REMOVED, "{world}", removedWorldName);
|
issuer.sendInfo(MVCorei18n.REMOVE_SUCCESS, "{world}", removedWorldName);
|
||||||
}).onFailure(failure -> {
|
}).onFailure(failure -> {
|
||||||
Logging.fine("World remove failure: " + failure);
|
Logging.fine("World remove failure: " + failure);
|
||||||
issuer.sendError(failure.getFailureMessage());
|
issuer.sendError(failure.getFailureMessage());
|
||||||
|
@ -43,6 +43,7 @@ public enum MVCorei18n implements MessageKeyProvider {
|
|||||||
// delete command
|
// delete command
|
||||||
DELETE_DELETING,
|
DELETE_DELETING,
|
||||||
DELETE_PROMPT,
|
DELETE_PROMPT,
|
||||||
|
DELETE_SUCCESS,
|
||||||
|
|
||||||
// Dumps command
|
// Dumps command
|
||||||
DUMPS_DESCRIPTION,
|
DUMPS_DESCRIPTION,
|
||||||
@ -76,6 +77,9 @@ public enum MVCorei18n implements MessageKeyProvider {
|
|||||||
RELOAD_RELOADING,
|
RELOAD_RELOADING,
|
||||||
RELOAD_SUCCESS,
|
RELOAD_SUCCESS,
|
||||||
|
|
||||||
|
// remove command
|
||||||
|
REMOVE_SUCCESS,
|
||||||
|
|
||||||
// root MV command
|
// root MV command
|
||||||
ROOT_TITLE,
|
ROOT_TITLE,
|
||||||
ROOT_HELP,
|
ROOT_HELP,
|
||||||
@ -115,7 +119,6 @@ public enum MVCorei18n implements MessageKeyProvider {
|
|||||||
CREATEWORLD_WORLDEXISTLOADED,
|
CREATEWORLD_WORLDEXISTLOADED,
|
||||||
CREATEWORLD_BUKKITCREATIONFAILED,
|
CREATEWORLD_BUKKITCREATIONFAILED,
|
||||||
|
|
||||||
DELETE_SUCCESS,
|
|
||||||
DELETEWORLD_WORLDNONEXISTENT,
|
DELETEWORLD_WORLDNONEXISTENT,
|
||||||
DELETEWORLD_LOADFAILED,
|
DELETEWORLD_LOADFAILED,
|
||||||
DELETEWORLD_WORLDFOLDERNOTFOUND,
|
DELETEWORLD_WORLDFOLDERNOTFOUND,
|
||||||
@ -133,7 +136,6 @@ public enum MVCorei18n implements MessageKeyProvider {
|
|||||||
LOADWORLD_WORLDEXISTLOADED,
|
LOADWORLD_WORLDEXISTLOADED,
|
||||||
LOADWORLD_BUKKITCREATIONFAILED,
|
LOADWORLD_BUKKITCREATIONFAILED,
|
||||||
|
|
||||||
REMOVEWORLD_REMOVED,
|
|
||||||
REMOVEWORLD_WORLDNONEXISTENT,
|
REMOVEWORLD_WORLDNONEXISTENT,
|
||||||
|
|
||||||
UNLOADWORLD_WORLDALREADYUNLOADING,
|
UNLOADWORLD_WORLDALREADYUNLOADING,
|
||||||
|
Loading…
Reference in New Issue
Block a user