MCPcopy Create free account
hub / github.com/Frontrooms/3.0-GC / execute

Method execute

src/main/java/emu/grasscutter/task/tasks/MoonCard.java:24–33  ·  view source on GitHub ↗
(JobExecutionContext context)

Source from the content-addressed store, hash-verified

22 }
23
24 @Override
25 public synchronized void execute(JobExecutionContext context) throws JobExecutionException {
26 Grasscutter.getGameServer().getPlayers().forEach((uid, player) -> {
27 if (player.isOnline()) {
28 if (player.inMoonCard()) {
29 player.getTodayMoonCard();
30 }
31 }
32 });
33 }
34}

Callers

nothing calls this directly

Calls 5

getGameServerMethod · 0.95
inMoonCardMethod · 0.80
getTodayMoonCardMethod · 0.80
getPlayersMethod · 0.45
isOnlineMethod · 0.45

Tested by

no test coverage detected