MCPcopy Create free account
hub / github.com/Garten/sourcecraft / updatedMinecraftPath

Method updatedMinecraftPath

src/main/GuiLogic.java:197–207  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195 }
196
197 private void updatedMinecraftPath() {
198 String minecraftPathString = this.gui.getMincraftPath();
199 if (Config.verifyMinecraftDirectory(new File(minecraftPathString))) {
200 this.gui.setTextFieldMincraftPathColor(COLOR_DIRECTORY_FOUND);
201 this.minecraftPathOk = true;
202 } else {
203 this.gui.setTextFieldMincraftPathColor(COLOR_DIRECTORY_MISSING);
204 this.minecraftPathOk = false;
205 }
206 this.updateContinueButton();
207 }
208
209 private void updateDisplayForSteam() {
210 File steamPath = this.gui.getSourcePath();

Callers 1

initSetupMethod · 0.95

Calls 4

updateContinueButtonMethod · 0.95
getMincraftPathMethod · 0.45

Tested by

no test coverage detected