MCPcopy Create free account
hub / github.com/Card-Forge/forge / updateCard

Method updateCard

forge-game/src/main/java/forge/game/card/Card.java:7557–7562  ·  view source on GitHub ↗

Update Card instance for the given PaperCard if any

(PaperCard pc)

Source from the content-addressed store, hash-verified

7555 * Update Card instance for the given PaperCard if any
7556 */
7557 public static void updateCard(PaperCard pc) {
7558 Card res = cp2card.get(pc);
7559 if (res != null) {
7560 cp2card.put(pc, fromPaperCard(pc, null));
7561 }
7562 }
7563
7564 public String getOracleText() {
7565 return currentState.getOracleText();

Callers 1

saveChangesMethod · 0.95

Calls 3

fromPaperCardMethod · 0.95
getMethod · 0.65
putMethod · 0.45

Tested by

no test coverage detected