Skip to content

Commit b8d81ed

Browse files
committed
Release
1 parent 2929cab commit b8d81ed

File tree

6 files changed

+5
-15
lines changed

6 files changed

+5
-15
lines changed

app/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ dependencies {
1616
jar {
1717
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
1818

19-
dependsOn ":sdk:jar"
20-
2119
manifest {
2220
attributes "Main-Class": "kleicreator.master.Starter"
2321
attributes 'Implementation-Version': version

app/src/main/java/kleicreator/export/Exporter.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,10 @@ public static void Export() {
7272
}
7373

7474
private static void CreateFolders(String outputLocation) {
75-
new File(Constants.constants.KLEICREATOR_LOCATION + "/exported/").mkdir();
76-
new File(outputLocation).mkdir();
77-
new File(outputLocation + "images").mkdir();
78-
new File(outputLocation + "images/inventoryimages").mkdir();
75+
new File(outputLocation).mkdirs();
76+
new File(outputLocation + "images/inventoryimages").mkdirs();
7977
new File(outputLocation + "images/bigportraits").mkdir();
80-
new File(outputLocation + "scripts").mkdir();
81-
new File(outputLocation + "scripts/prefabs").mkdir();
78+
new File(outputLocation + "scripts/prefabs").mkdirs();
8279
new File(outputLocation + "anim").mkdir();
8380
}
8481

app/src/main/java/kleicreator/export/templates/Template.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,6 @@ public enum Type {
139139
Modmain,
140140
Modinfo,
141141
Item,
142-
Custom // Potenial SDK
142+
Custom // Potential SDK
143143
}
144144
}

app/src/main/java/kleicreator/plugin/PluginHandler.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ public static void LoadPlugin(PluginBlob blob) throws IOException {
9797
if (Plugin.class.isAssignableFrom(myLoadedClass)) {
9898
Plugin p = (Plugin) myLoadedClass.getConstructor().newInstance();
9999
blob.core = p;
100-
p.OnLoad();
101100
Logger.Debug("Loaded %s (%s)", p.Name(), p.Id());
102101
}
103102
if (EventTrigger.class.isAssignableFrom(myLoadedClass)) {

app/src/main/java/kleicreator/sdk/Plugin.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,4 @@ default String Id(){
1010
default String Author(){
1111
return "";
1212
}
13-
14-
default void OnLoad(){
15-
16-
}
1713
}

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ buildscript {
1212

1313
allprojects {
1414
group 'dev.kleicreator'
15-
version '0.1.2'
15+
version '0.2.0'
1616
}
1717

1818
subprojects {

0 commit comments

Comments
 (0)