MCPcopy Create free account
hub / github.com/badvision/jace / loadCheats

Method loadCheats

src/main/java/jace/cheat/MetaCheat.java:412–422  ·  view source on GitHub ↗
(File saveFile)

Source from the content-addressed store, hash-verified

410 }
411
412 public void loadCheats(File saveFile) {
413 try (BufferedReader in = new BufferedReader(new FileReader(saveFile))) {
414 String line;
415 while ((line = in.readLine()) != null) {
416 DynamicCheat cheat = DynamicCheat.deserialize(line);
417 addCheat(cheat);
418 }
419 } catch (IOException ex) {
420 Logger.getLogger(MetaCheat.class.getName()).log(Level.SEVERE, null, ex);
421 }
422 }
423}

Callers

nothing calls this directly

Calls 4

deserializeMethod · 0.95
addCheatMethod · 0.95
getNameMethod · 0.65
logMethod · 0.45

Tested by

no test coverage detected