/void manage bring command

This commit is contained in:
Debucquoy Anthony 2024-01-29 18:25:13 +01:00
parent 1d34a3040d
commit 8bf35896f4
Signed by: tonitch
GPG Key ID: A78D6421F083D42E
3 changed files with 16 additions and 4 deletions

View File

@ -3,15 +3,15 @@
- [x] deathBan reset
- [x] voids exchanges
- [x] /void give négatives values
- [+] Make Discord Webhoook for item changes
- [+] chest name
- [+] Show next Item
- [x] Make Discord Webhoook for item changes
- [x] chest name
- [x] Show next Item
- [+] /void give afficher title
- subtitle + chat
- [+] Double Check Inventory reset on die
- [ ] i18n
- [ ] /void manage bring
- [ ] Dupe bug (respawn) -> Gamerule
- [ ] Events
- [ ] Command completions
- [ ] Annonce
- [ ] Double Check Inventory reset on die

View File

@ -76,6 +76,14 @@ public class VoidCommands implements CommandExecutor, TabCompleter{
sender.sendMessage("You can't teleport!");
}
break;
case "bring":
if(sender instanceof Player ply && m.getLocation() != null){
m.teleport(ply.getLocation());
}else{
return false;
}
break;
case "balance":
if(args.length < 5) return false;
switch (args[2]) {

View File

@ -178,4 +178,8 @@ public class Merchand implements Listener{
}
}
}
public void teleport(Location location) {
m.teleport(location);
}
}