File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 44 "fmt"
55 "github.com/nothub/mrpack-install/web"
66 "log"
7- "os"
87 "os/exec"
9- "path/filepath"
108)
119
1210type ForgeInstaller struct {
@@ -33,21 +31,8 @@ func (inst *ForgeInstaller) Install(serverDir string, serverFile string) error {
3331 return err
3432 }
3533
36- originalServerPath := filepath .Join (
37- serverDir ,
38- "libraries" ,
39- "net" ,
40- "minecraftforge" ,
41- "forge" ,
42- fmt .Sprintf ("%s-%s" , inst .MinecraftVersion , inst .ForgeVersion ),
43- fmt .Sprintf ("forge-%s-%s-server.jar" , inst .MinecraftVersion , inst .ForgeVersion ),
44- )
45-
4634 if serverFile != "" {
47- err = os .Rename (originalServerPath , filepath .Join (serverDir , serverFile ))
48- if err != nil {
49- return err
50- }
35+ log .Println ("ignoring --server-file option for forge server installation!" )
5136 }
5237
5338 return nil
You can’t perform that action at this time.
0 commit comments