mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-04 06:28:49 +00:00
Fix missing aliases on tp response commands, Close #386
This commit is contained in:
1 file changed
+1
-1
@@ -35,7 +35,7 @@ public class TpRespondCommand extends InGameCommand implements UserListTabProvid
|
|||||||
private final boolean accept;
|
private final boolean accept;
|
||||||
|
|
||||||
protected TpRespondCommand(@NotNull HuskHomes plugin, 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;
|
this.accept = accept;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user