Update vanilla patch locations

This commit is contained in:
ME1312 2018-07-26 21:29:26 -04:00
parent 337ee5d33c
commit 3f0cb45aa3
No known key found for this signature in database
GPG Key ID: FEFFE2F698E88FA8
11 changed files with 2 additions and 2 deletions

View File

@ -246,7 +246,7 @@
@font-face { @font-face {
font-family: Avenir; font-family: Avenir;
src: url("https://raw.githubusercontent.com/ME1312/SubServers-2/master/SubServers.Bungee/Avenir-Book.ttf"); src: url("https://raw.githubusercontent.com/ME1312/SubServers-2/master/SubServers.Console/Avenir-Book.ttf");
} }
</style> </style>
<div class="download"><center> <div class="download"><center>

Binary file not shown.

Binary file not shown.

View File

@ -122,7 +122,7 @@ public final class SubPlugin extends BungeeCord implements Listener {
Util.unzip(SubPlugin.class.getResourceAsStream("/net/ME1312/SubServers/Bungee/Library/Files/Templates/sponge.zip"), new UniversalFile(dir, "Templates")); Util.unzip(SubPlugin.class.getResourceAsStream("/net/ME1312/SubServers/Bungee/Library/Files/Templates/sponge.zip"), new UniversalFile(dir, "Templates"));
System.out.println("SubServers > Created ~/SubServers/Templates/Sponge"); System.out.println("SubServers > Created ~/SubServers/Templates/Sponge");
} else { } else {
if (new UniversalFile(dir, "Templates:Vanilla:template.yml").exists() && (new Version((new YAMLConfig(new UniversalFile(dir, "Templates:Vanilla:template.yml"))).get().getString("Version", "0")).compareTo(new Version("2.13a/rv2+"))) != 0) { if (new UniversalFile(dir, "Templates:Vanilla:template.yml").exists() && (new Version((new YAMLConfig(new UniversalFile(dir, "Templates:Vanilla:template.yml"))).get().getString("Version", "0")).compareTo(new Version("2.13a/rv3+"))) != 0) {
Files.move(new UniversalFile(dir, "Templates:Vanilla").toPath(), new UniversalFile(dir, "Templates:Vanilla.old" + Math.round(Math.random() * 100000)).toPath()); Files.move(new UniversalFile(dir, "Templates:Vanilla").toPath(), new UniversalFile(dir, "Templates:Vanilla.old" + Math.round(Math.random() * 100000)).toPath());
Util.unzip(SubPlugin.class.getResourceAsStream("/net/ME1312/SubServers/Bungee/Library/Files/Templates/vanilla.zip"), new UniversalFile(dir, "Templates")); Util.unzip(SubPlugin.class.getResourceAsStream("/net/ME1312/SubServers/Bungee/Library/Files/Templates/vanilla.zip"), new UniversalFile(dir, "Templates"));
System.out.println("SubServers > Updated ~/SubServers/Templates/Vanilla"); System.out.println("SubServers > Updated ~/SubServers/Templates/Vanilla");

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.