Skip to content

Commit

Permalink
[Commands] Fixed /load not having the /loadTAS alias
Browse files Browse the repository at this point in the history
  • Loading branch information
ScribbleTAS committed Jul 12, 2024
1 parent 283e291 commit 9afd273
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.util.List;
import java.util.concurrent.TimeoutException;

import com.google.common.collect.ImmutableList;
import com.minecrafttas.tasmod.TASmod;
import com.minecrafttas.tasmod.networking.TASmodBufferBuilder;
import com.minecrafttas.tasmod.registries.TASmodPackets;
Expand All @@ -28,6 +29,11 @@ public String getUsage(ICommandSender sender) {
return "/load <filename> [flavor]";
}

@Override
public List<String> getAliases() {
return ImmutableList.of("loadTAS");
}

@Override
public void execute(MinecraftServer server, ICommandSender sender, String[] args) throws CommandException {
if (sender instanceof EntityPlayer) {
Expand Down

0 comments on commit 9afd273

Please sign in to comment.