File tree Expand file tree Collapse file tree 2 files changed +27
-3
lines changed
src/main/kotlin/com/demonwav/mcdev/platform/fabric/creator Expand file tree Collapse file tree 2 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<form xmlns =" http://www.intellij.com/uidesigner/form/" version =" 1" bind-to-class =" com.demonwav.mcdev.platform.fabric.creator.FabricProjectSettingsWizard" >
3- <grid id =" 27dc6" binding =" panel" layout-manager =" GridLayoutManager" row-count =" 3 " column-count =" 1" same-size-horizontally =" false" same-size-vertically =" false" hgap =" -1" vgap =" -1" >
3+ <grid id =" 27dc6" binding =" panel" layout-manager =" GridLayoutManager" row-count =" 4 " column-count =" 1" same-size-horizontally =" false" same-size-vertically =" false" hgap =" -1" vgap =" -1" >
44 <margin top =" 0" left =" 0" bottom =" 0" right =" 0" />
55 <constraints >
6- <xy x =" 20" y =" 20" width =" 1059" height =" 649 " />
6+ <xy x =" 20" y =" 20" width =" 1059" height =" 653 " />
77 </constraints >
88 <properties />
99 <border type =" none" />
1010 <children >
1111 <grid id =" d9c29" layout-manager =" GridLayoutManager" row-count =" 1" column-count =" 2" same-size-horizontally =" false" same-size-vertically =" false" hgap =" -1" vgap =" -1" >
1212 <margin top =" 0" left =" 0" bottom =" 0" right =" 0" />
1313 <constraints >
14- <grid row =" 2 " column =" 0" row-span =" 1" col-span =" 1" vsize-policy =" 3" hsize-policy =" 3" anchor =" 0" fill =" 3" indent =" 0" use-parent-layout =" false" />
14+ <grid row =" 3 " column =" 0" row-span =" 1" col-span =" 1" vsize-policy =" 3" hsize-policy =" 3" anchor =" 0" fill =" 3" indent =" 0" use-parent-layout =" false" />
1515 </constraints >
1616 <properties />
1717 <border type =" none" />
380380 <grid row =" 1" column =" 0" row-span =" 1" col-span =" 1" vsize-policy =" 6" hsize-policy =" 1" anchor =" 0" fill =" 2" indent =" 0" use-parent-layout =" false" />
381381 </constraints >
382382 </vspacer >
383+ <grid id =" b822e" layout-manager =" GridLayoutManager" row-count =" 1" column-count =" 2" same-size-horizontally =" false" same-size-vertically =" false" hgap =" -1" vgap =" -1" >
384+ <margin top =" 0" left =" 0" bottom =" 0" right =" 0" />
385+ <constraints >
386+ <grid row =" 2" column =" 0" row-span =" 1" col-span =" 1" vsize-policy =" 3" hsize-policy =" 3" anchor =" 0" fill =" 3" indent =" 0" use-parent-layout =" false" />
387+ </constraints >
388+ <properties />
389+ <border type =" none" />
390+ <children >
391+ <component id =" 564ee" class =" javax.swing.JLabel" binding =" errorLabel" >
392+ <constraints >
393+ <grid row =" 0" column =" 1" row-span =" 1" col-span =" 1" vsize-policy =" 0" hsize-policy =" 0" anchor =" 8" fill =" 0" indent =" 0" use-parent-layout =" false" />
394+ </constraints >
395+ <properties >
396+ <text value =" < html>< font color=" red"> An error occurred when trying to fetch the latest versions. Check the IDE log for details.< /font>< /html> " />
397+ </properties >
398+ </component >
399+ <hspacer id =" 3bbd3" >
400+ <constraints >
401+ <grid row =" 0" column =" 0" row-span =" 1" col-span =" 1" vsize-policy =" 1" hsize-policy =" 6" anchor =" 0" fill =" 1" indent =" 0" use-parent-layout =" false" />
402+ </constraints >
403+ </hspacer >
404+ </children >
405+ </grid >
383406 </children >
384407 </grid >
385408</form >
Original file line number Diff line number Diff line change @@ -271,6 +271,7 @@ class FabricProjectSettingsWizard(private val creator: MinecraftProjectCreator)
271271 dataProvider = downloadVersions()
272272 updateForm()
273273 } catch (e: Exception ) {
274+ e.printStackTrace()
274275 error()
275276 }
276277
You can’t perform that action at this time.
0 commit comments