File tree Expand file tree Collapse file tree 2 files changed +2
-19
lines changed
main/kotlin/dev/newspicel/di/serverevents
test/kotlin/dev/newspicel/di/commands Expand file tree Collapse file tree 2 files changed +2
-19
lines changed Original file line number Diff line number Diff line change 1
1
package dev.newspicel.di.serverevents
2
2
3
3
@Target(AnnotationTarget .FUNCTION )
4
- @Retention(AnnotationRetention .RUNTIME )
5
4
@MustBeDocumented
6
5
annotation class OnEnable
7
6
8
7
@Target(AnnotationTarget .FUNCTION )
9
- @Retention(AnnotationRetention .RUNTIME )
10
8
@MustBeDocumented
11
9
annotation class OnDisable
12
10
13
11
@Target(AnnotationTarget .FUNCTION )
14
- @Retention(AnnotationRetention .RUNTIME )
15
12
@MustBeDocumented
16
13
annotation class OnLoad
Original file line number Diff line number Diff line change 1
1
package dev.newspicel.di.commands
2
2
3
- import kotlinx.coroutines.delay
4
3
import dev.newspicel.di.MinecraftController
5
- import dev.newspicel.di.commands.Command
6
- import dev.newspicel.di.commands.HasPermission
7
- import dev.newspicel.di.commands.IsOp
8
- import dev.newspicel.di.commands.TabComplete
9
- import dev.newspicel.itemstack.flag
10
- import dev.newspicel.itemstack.itemStack
11
- import dev.newspicel.itemstack.meta
12
- import dev.newspicel.itemstack.name
13
- import dev.newspicel.itemstack.setLore
4
+ import kotlinx.coroutines.delay
14
5
import net.kyori.adventure.text.Component.text
15
- import org.bukkit.Material
16
6
import org.bukkit.entity.Player
17
- import org.bukkit.inventory.ItemFlag
18
- import org.bukkit.plugin.java.JavaPlugin
19
7
20
8
@MinecraftController
21
- class CommandTestController (
22
- private val plugin : JavaPlugin ,
23
- ) {
9
+ class CommandTestController {
24
10
25
11
var i = 0
26
12
You can’t perform that action at this time.
0 commit comments