diff --git a/NWorldPermissions/res/messages.yml b/NWorldPermissions/res/messages.yml index ff9a68d..eb83acc 100644 --- a/NWorldPermissions/res/messages.yml +++ b/NWorldPermissions/res/messages.yml @@ -141,7 +141,7 @@ messages: &r&3[&bNWorldPermissions&3]: Try these commands! &r&b/wp tpsingle online [world_name] &r&6-- To teleport an online player to a mark. If the world is specified, the player won't get teleported if being in any other world. - &r&b/wp tpsingle offline [world_name] &r&6-- To teleport an offline player to a mark. If the world is specified, the player won't get teleported if being in any other world. + &r&b/wp tpsingle offline [world_name] &r&6-- To teleport an offline player to a mark. If the world is specified, the player won't get teleported if being in any other world. # Available Arg(s): {senderName}. online: no-such-player: | diff --git a/NWorldPermissions/res/plugin.yml b/NWorldPermissions/res/plugin.yml index 2aa24cd..a503e93 100644 --- a/NWorldPermissions/res/plugin.yml +++ b/NWorldPermissions/res/plugin.yml @@ -2,7 +2,7 @@ name: NWorldPermissions description: A strange power stopping players being teleported to a world. website: https://github.com/yueyinqiu/NWorldPermissions/wiki -version: '4.61' +version: '4.62' author: yueyinqiu5990 main: top.nololiyt.worldpermissions.RootPlugin softdepend: [PlaceholderAPI,MarksAPI] diff --git a/NWorldPermissions/src/top/nololiyt/worldpermissions/commands/tpsingle/OfflineExecutor.java b/NWorldPermissions/src/top/nololiyt/worldpermissions/commands/tpsingle/OfflineExecutor.java index fe1a8ac..53446c4 100644 --- a/NWorldPermissions/src/top/nololiyt/worldpermissions/commands/tpsingle/OfflineExecutor.java +++ b/NWorldPermissions/src/top/nololiyt/worldpermissions/commands/tpsingle/OfflineExecutor.java @@ -77,8 +77,8 @@ protected boolean run(int layer, RootPlugin rootPlugin, MessagesSender messagesSender = new MessagesSender(rootPlugin.getMessagesManager(), commandSender, new StringPair[]{ StringPair.playerName(arguments.playerName), - StringPair.markName(arguments.worldName), - StringPair.worldName(arguments.markName), + StringPair.markName(arguments.markName), + StringPair.worldName(arguments.worldName), StringPair.senderName(commandSender.getName()) });