Fix missing aliases on tp response commands, Close #386

This commit is contained in:
William committed 2023-05-03 20:00:51 +01:00
1 parent 971eb62507
commit ed92e9c473
1 file changed
+1 -1
@@ -35,7 +35,7 @@ public class TpRespondCommand extends InGameCommand implements UserListTabProvid
private final boolean accept;
protected TpRespondCommand(@NotNull HuskHomes plugin, boolean accept) {
super(accept ? "tpaccept" : "tpdecline", List.of(), "[player]", plugin);
super(accept ? "tpaccept" : "tpdecline", accept ? List.of("tpyes") : List.of("tpno", "tpdeny"), "[player]", plugin);
this.accept = accept;
}