Skip to content

Commit 99361ba

Browse files
author
BuildTools
committed
Fixed build's bug.
1 parent 0a2aa8b commit 99361ba

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

gradlew

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ esac
8282

8383
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
8484

85-
8685
# Determine the Java command to use to start the JVM.
8786
if [ -n "$JAVA_HOME" ] ; then
8887
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
@@ -130,7 +129,6 @@ fi
130129
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
131130
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
132131
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
133-
134132
JAVACMD=`cygpath --unix "$JAVACMD"`
135133

136134
# We build the pattern for arguments to be converted via cygpath

gradlew.bat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ set CMD_LINE_ARGS=%*
8484

8585
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
8686

87-
8887
@rem Execute Gradle
8988
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
9089

src/main/kotlin/me/scoretwo/fastscript/utils/Assist.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ class Assist {
88
val instance = Assist()
99
}
1010

11-
fun sendMessage(sender: Any, string: String, colorIndex: Boolean = true) = FastScript.sendMessage(sender, string, colorIndex)
11+
fun sendMessage(sender: Any, string: String, colorIndex: Boolean = true) = FastScript.instance.sendMessage(sender, string, colorIndex)
1212

1313
}

src/main/resources/scripts/example.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,11 @@ import:
3939
class: 'org.bukkit.Bukkit'
4040
method:
4141
name: 'getServer'
42-
args: []
42+
args: []
43+
44+
example:
45+
type: STATIC
46+
object:
47+
class: 'org.buikkt.Bukkit'
48+
method:
49+
name: 'getServer'

0 commit comments

Comments
 (0)