MCPcopy Create free account
hub / github.com/Maxlego08/zMenu / load

Method load

src/main/java/fr/maxlego08/menu/save/MessageLoader.java:76–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74 }
75
76 public void load() {
77
78 File file = new File(this.plugin.getDataFolder(), "messages.yml");
79 if (!file.exists()) {
80 this.save();
81 return;
82 }
83
84 this.loadMessages(YamlConfiguration.loadConfiguration(file));
85 }
86
87 private void loadMessages(YamlConfiguration configuration) {
88

Callers

nothing calls this directly

Calls 2

saveMethod · 0.95
loadMessagesMethod · 0.95

Tested by

no test coverage detected