8.1 | A critical bug fix
This commit is contained in:
parent
df3751f662
commit
a82799bbcd
@ -1,7 +1,7 @@
|
|||||||
<component name="ArtifactManager">
|
<component name="ArtifactManager">
|
||||||
<artifact type="jar" name="T2CodeLib_8">
|
<artifact type="jar" name="T2CodeLib_8.1">
|
||||||
<output-path>$PROJECT_DIR$/../../Plugins/T2CodeLib/.jar</output-path>
|
<output-path>$PROJECT_DIR$/../../Plugins/T2CodeLib/.jar</output-path>
|
||||||
<root id="archive" name="T2CodeLib_8.jar">
|
<root id="archive" name="T2CodeLib_8.1.jar">
|
||||||
<element id="module-output" name="T2CodeLib" />
|
<element id="module-output" name="T2CodeLib" />
|
||||||
</root>
|
</root>
|
||||||
</artifact>
|
</artifact>
|
@ -1,6 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="RemoteRepositoriesConfiguration">
|
<component name="RemoteRepositoriesConfiguration">
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="Builders-Paradise" />
|
||||||
|
<option name="name" value="Builders-Paradise" />
|
||||||
|
<option name="url" value="https://repo.t2code.net/repository/Builders-Paradise/" />
|
||||||
|
</remote-repository>
|
||||||
<remote-repository>
|
<remote-repository>
|
||||||
<option name="id" value="central" />
|
<option name="id" value="central" />
|
||||||
<option name="name" value="Central Repository" />
|
<option name="name" value="Central Repository" />
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
<component name="libraryTable">
|
<component name="libraryTable">
|
||||||
<library name="Maven: org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT">
|
<library name="Maven: org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT">
|
||||||
<CLASSES>
|
<CLASSES>
|
||||||
<root url="jar://$MAVEN_REPOSITORY$/org/spigotmc/spigot-api/1.18-R0.1-SNAPSHOT/spigot-api-1.18-R0.1-20211203.212959-19.jar!/" />
|
<root url="jar://$MAVEN_REPOSITORY$/org/spigotmc/spigot-api/1.18-R0.1-SNAPSHOT/spigot-api-1.18-R0.1-20211210.131639-28.jar!/" />
|
||||||
</CLASSES>
|
</CLASSES>
|
||||||
<JAVADOC>
|
<JAVADOC>
|
||||||
<root url="jar://$MAVEN_REPOSITORY$/org/spigotmc/spigot-api/1.18-R0.1-SNAPSHOT/spigot-api-1.18-R0.1-20211203.212959-19-javadoc.jar!/" />
|
<root url="jar://$MAVEN_REPOSITORY$/org/spigotmc/spigot-api/1.18-R0.1-SNAPSHOT/spigot-api-1.18-R0.1-20211210.131639-28-javadoc.jar!/" />
|
||||||
</JAVADOC>
|
</JAVADOC>
|
||||||
<SOURCES>
|
<SOURCES>
|
||||||
<root url="jar://$MAVEN_REPOSITORY$/org/spigotmc/spigot-api/1.18-R0.1-SNAPSHOT/spigot-api-1.18-R0.1-20211203.212959-19-sources.jar!/" />
|
<root url="jar://$MAVEN_REPOSITORY$/org/spigotmc/spigot-api/1.18-R0.1-SNAPSHOT/spigot-api-1.18-R0.1-20211210.131639-28-sources.jar!/" />
|
||||||
</SOURCES>
|
</SOURCES>
|
||||||
</library>
|
</library>
|
||||||
</component>
|
</component>
|
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>net.t2code</groupId>
|
<groupId>net.t2code</groupId>
|
||||||
<artifactId>T2CodeLib</artifactId>
|
<artifactId>T2CodeLib</artifactId>
|
||||||
<version>8.0</version>
|
<version>8.1</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>T2CodeLib</name>
|
<name>T2CodeLib</name>
|
||||||
|
@ -86,7 +86,10 @@ public class CreateReportLog {
|
|||||||
//File logToZip = new File(log);
|
//File logToZip = new File(log);
|
||||||
//zipOut.putNextEntry(new ZipEntry(logToZip.getName()));
|
//zipOut.putNextEntry(new ZipEntry(logToZip.getName()));
|
||||||
//Files.copy(logToZip.toPath(), zipOut);
|
//Files.copy(logToZip.toPath(), zipOut);
|
||||||
pluginToDebug("T2CodeLib", "T2CodeLib", zip);
|
|
||||||
|
addFileToZip("", "logs/latest.log", zip, false);
|
||||||
|
|
||||||
|
//pluginToDebug("T2CodeLib", "T2CodeLib", zip); todo bugfix
|
||||||
pluginToDebug("T2C-LuckyBox", "T2C-LuckyBox", zip);
|
pluginToDebug("T2C-LuckyBox", "T2C-LuckyBox", zip);
|
||||||
pluginToDebug("WonderBagShop", "WonderBagShop", zip);
|
pluginToDebug("WonderBagShop", "WonderBagShop", zip);
|
||||||
pluginToDebug("CommandGUI", "CommandGUI", zip);
|
pluginToDebug("CommandGUI", "CommandGUI", zip);
|
||||||
@ -98,7 +101,6 @@ public class CreateReportLog {
|
|||||||
pluginToDebug("LoreEditor", "LoreEditor", zip);
|
pluginToDebug("LoreEditor", "LoreEditor", zip);
|
||||||
pluginToDebug("Booster", "Booster", zip);
|
pluginToDebug("Booster", "Booster", zip);
|
||||||
pluginToDebug("AntiMapCopy", "AntiCopy", zip);
|
pluginToDebug("AntiMapCopy", "AntiCopy", zip);
|
||||||
addFileToZip("", "logs/latest.log", zip, false);
|
|
||||||
zip.closeEntry();
|
zip.closeEntry();
|
||||||
zip.close();
|
zip.close();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
@ -166,7 +168,11 @@ public class CreateReportLog {
|
|||||||
}
|
}
|
||||||
|
|
||||||
while ((len = in.read(buf)) > 0) {
|
while ((len = in.read(buf)) > 0) {
|
||||||
|
try {
|
||||||
zip.write(buf, 0, len);
|
zip.write(buf, 0, len);
|
||||||
|
} catch (Exception ex){
|
||||||
|
ex.printStackTrace();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: T2CodeLib
|
name: T2CodeLib
|
||||||
version: 8
|
version: 8.1
|
||||||
main: net.t2code.lib.Bungee.BMain
|
main: net.t2code.lib.Bungee.BMain
|
||||||
author: JaTiTV, Jkobs
|
author: JaTiTV, Jkobs
|
||||||
description: Libarie from T2Code Plugins
|
description: Libarie from T2Code Plugins
|
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
name: T2CodeLib
|
name: T2CodeLib
|
||||||
version: 8
|
version: 8.1
|
||||||
main: net.t2code.lib.Spigot.system.Main
|
main: net.t2code.lib.Spigot.system.Main
|
||||||
api-version: 1.13
|
api-version: 1.13
|
||||||
prefix: T2CodeLib
|
prefix: T2CodeLib
|
||||||
|
Loading…
Reference in New Issue
Block a user