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
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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)