Skip to content

Commit

Permalink
removed some aliases in \home :)
Browse files Browse the repository at this point in the history
  • Loading branch information
vytdev committed Jun 18, 2024
1 parent 2ddc0a8 commit cd1f18e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/server/commands/home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const info: commandSub = {
{
name: "add",
dest: "add",
aliases: [ "new", "set" ],
args: [
{
name: "name",
Expand All @@ -25,9 +24,8 @@ const info: commandSub = {
},

{
name: "delete",
name: "del",
dest: "del",
aliases: [ "del", "remove", "rm" ],
args: [
{
name: "name",
Expand All @@ -39,9 +37,8 @@ const info: commandSub = {
},

{
name: "teleport",
name: "tp",
dest: "tp",
aliases: [ "tp" ],
args: [
{
name: "name",
Expand All @@ -63,7 +60,7 @@ makeCommand(info, (args, ev, plr) => {
string, // dimension
vec3, // position
vec2, // head rotation
][] = plr.db.get('homes') ?? [];
][] = plr.db.get('homes', []);

// add new home
if (args.add) {
Expand Down

0 comments on commit cd1f18e

Please sign in to comment.