Skip to content

Commit 755c7f6

Browse files
feat: undo deletetion of inventory test class
1 parent a2f3c48 commit 755c7f6

File tree

1 file changed

+14
-0
lines changed
  • surf-api-bukkit/surf-api-bukkit-plugin-test/src/main/kotlin/dev/slne/surf/surfapi/bukkit/test/command/subcommands

1 file changed

+14
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package dev.slne.surf.surfapi.bukkit.test.command.subcommands
2+
3+
import dev.jorel.commandapi.CommandAPICommand
4+
import dev.jorel.commandapi.kotlindsl.playerExecutor
5+
import dev.slne.surf.surfapi.bukkit.api.inventory.framework.open
6+
import dev.slne.surf.surfapi.bukkit.test.command.subcommands.inventory.TestInventoryView
7+
8+
class InventoryTest(name: String) : CommandAPICommand(name) {
9+
init {
10+
playerExecutor { player, _ ->
11+
TestInventoryView.open(player)
12+
}
13+
}
14+
}

0 commit comments

Comments
 (0)