Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

Commit

Permalink
Added /zc as an alias to /zealotcounter
Browse files Browse the repository at this point in the history
  • Loading branch information
symt committed Dec 3, 2019
1 parent f608e5d commit 1b38940
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/java/io/github/symt/ZealotCounterCommand.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package io.github.symt;

import java.util.ArrayList;
import java.util.List;
import net.minecraft.command.CommandBase;
import net.minecraft.command.ICommandSender;
import net.minecraft.entity.player.EntityPlayer;
Expand All @@ -8,6 +10,15 @@

public class ZealotCounterCommand extends CommandBase {

@Override
public List getCommandAliases() {
return new ArrayList<String>() {
{
add("zc");
}
};
}

@Override
public String getCommandName() {
return "zealotcounter";
Expand Down

0 comments on commit 1b38940

Please sign in to comment.