Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b692047878 | ||
|
|
3e57cae866 |
@@ -1,5 +1,5 @@
|
|||||||
group 'com.btk5h.skript-db'
|
group 'com.btk5h.skript-db'
|
||||||
version '0.2.0'
|
version '0.2.1'
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ public class EffExecuteStatement extends Delay {
|
|||||||
String result = executeStatement(e);
|
String result = executeStatement(e);
|
||||||
continueScriptExecution(e, result);
|
continueScriptExecution(e, result);
|
||||||
} else {
|
} else {
|
||||||
if (isMainThread) {
|
if (isSync) {
|
||||||
Skript.warning("A SQL query was attempted on the main thread!");
|
Skript.warning("A SQL query was attempted on the main thread!");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -98,11 +98,7 @@ public class EffExecuteStatement extends Delay {
|
|||||||
err.printStackTrace();
|
err.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isSync) {
|
|
||||||
continueScriptExecution(e, res);
|
|
||||||
} else {
|
|
||||||
Bukkit.getScheduler().runTask(SkriptDB.getInstance(), () -> continueScriptExecution(e, res));
|
Bukkit.getScheduler().runTask(SkriptDB.getInstance(), () -> continueScriptExecution(e, res));
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
name: skript-db
|
name: skript-db
|
||||||
version: 0.2.0
|
version: 0.2.1
|
||||||
main: com.btk5h.skriptdb.SkriptDB
|
main: com.btk5h.skriptdb.SkriptDB
|
||||||
depend: [Skript]
|
depend: [Skript]
|
||||||
|
|||||||
Reference in New Issue
Block a user