Skip to content

Commit

Permalink
/map command teleports you to teleport map
Browse files Browse the repository at this point in the history
  • Loading branch information
Le4nderS committed Jun 13, 2022
1 parent 2e0505b commit fe57ced
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/dev/nachwahl/btemap/commands/MapCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ public void run() {
});
}

@Default
public static void onDefault(CommandSender sender){
BTEMap.getPlugin(BTEMap.class).sendPluginMessage("nwarp", (Player) sender,sender.getName(),"Map");
}

@HelpCommand
public static void onHelp(CommandSender sender, CommandHelp help) {
sender.sendMessage("§6BTE Germany Map");
Expand Down

0 comments on commit fe57ced

Please sign in to comment.