MCPcopy Create free account
hub / github.com/ZetaMap/MoreCommands / ArgsFilter

Method ArgsFilter

src/main/java/filter/ArgsFilter.java:21–26  ·  view source on GitHub ↗
(FilterType type, Player player, Unit unit)

Source from the content-addressed store, hash-verified

19 public Unit unit;
20
21 public ArgsFilter(FilterType type, Player player, Unit unit) {
22 this.type = type;
23 this.data = TempData.get(player);
24 this.player = player;
25 this.unit = unit;
26 }
27
28 public static FilterSearchReponse hasFilter(Player trigger, String[] args) { return hasFilter(trigger, String.join(" ", args)); }
29 public static FilterSearchReponse hasFilter(Player trigger, String arg) {

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected