/void manage bring command
This commit is contained in:
parent
1d34a3040d
commit
8bf35896f4
8
TODO.md
8
TODO.md
@ -3,15 +3,15 @@
|
|||||||
- [x] deathBan reset
|
- [x] deathBan reset
|
||||||
- [x] voids exchanges
|
- [x] voids exchanges
|
||||||
- [x] /void give négatives values
|
- [x] /void give négatives values
|
||||||
- [+] Make Discord Webhoook for item changes
|
- [x] Make Discord Webhoook for item changes
|
||||||
- [+] chest name
|
- [x] chest name
|
||||||
- [+] Show next Item
|
- [x] Show next Item
|
||||||
- [+] /void give afficher title
|
- [+] /void give afficher title
|
||||||
- subtitle + chat
|
- subtitle + chat
|
||||||
|
- [+] Double Check Inventory reset on die
|
||||||
- [ ] i18n
|
- [ ] i18n
|
||||||
- [ ] /void manage bring
|
- [ ] /void manage bring
|
||||||
- [ ] Dupe bug (respawn) -> Gamerule
|
- [ ] Dupe bug (respawn) -> Gamerule
|
||||||
- [ ] Events
|
- [ ] Events
|
||||||
- [ ] Command completions
|
- [ ] Command completions
|
||||||
- [ ] Annonce
|
- [ ] Annonce
|
||||||
- [ ] Double Check Inventory reset on die
|
|
||||||
|
@ -76,6 +76,14 @@ public class VoidCommands implements CommandExecutor, TabCompleter{
|
|||||||
sender.sendMessage("You can't teleport!");
|
sender.sendMessage("You can't teleport!");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case "bring":
|
||||||
|
if(sender instanceof Player ply && m.getLocation() != null){
|
||||||
|
m.teleport(ply.getLocation());
|
||||||
|
}else{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case "balance":
|
case "balance":
|
||||||
if(args.length < 5) return false;
|
if(args.length < 5) return false;
|
||||||
switch (args[2]) {
|
switch (args[2]) {
|
||||||
|
@ -178,4 +178,8 @@ public class Merchand implements Listener{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void teleport(Location location) {
|
||||||
|
m.teleport(location);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user