Skip to content

Commit

Permalink
Bump Lamp (command framework) to version 3.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofpu committed Oct 23, 2023
1 parent 56546db commit 5aa13d2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ allprojects {
dependencies {
compileOnly("org.spigotmc:spigot-api:1.8.8-R0.1-SNAPSHOT")

implementation("com.github.Revxrsal.Lamp:common:3.0.3")
implementation("com.github.Revxrsal.Lamp:common:3.1.7")

implementation("net.kyori:adventure-api:4.10.1")
implementation("net.kyori:adventure-text-minimessage:4.10.1")
Expand All @@ -55,6 +55,7 @@ allprojects {
options.encoding = "UTF-8"
options.compilerArgs.plusAssign("-parameters")
sourceCompatibility = "8"
targetCompatibility = "8"
}

build {
Expand Down
8 changes: 4 additions & 4 deletions speedbridge2-spigot-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies {
compileOnly("org.xerial:sqlite-jdbc:3.36.0.3")
compileOnly("com.sk89q:worldedit:6.0.0-SNAPSHOT")

implementation("com.github.Revxrsal.Lamp:bukkit:3.0.7")
implementation("com.github.Revxrsal.Lamp:bukkit:3.1.7")
implementation("net.kyori:adventure-platform-bukkit:4.0.1")

implementation("com.github.tofpu:DynamicClass:1.1") {
Expand Down Expand Up @@ -58,8 +58,8 @@ tasks {
}

runServer {
minecraftVersion("1.20")
pluginJars(project.file("libs/worldedit-bukkit-7.2.15.jar"))
// pluginJars(project.file("libs/worldedit-bukkit-6.1.jar"))d
minecraftVersion("1.8.8")
// pluginJars(project.file("libs/worldedit-bukkit-7.2.15.jar"))
pluginJars(project.file("libs/worldedit-bukkit-6.1.jar"))
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,7 @@
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.jetbrains.annotations.NotNull;
import revxrsal.commands.annotation.AutoComplete;
import revxrsal.commands.annotation.Command;
import revxrsal.commands.annotation.Default;
import revxrsal.commands.annotation.Description;
import revxrsal.commands.annotation.Flag;
import revxrsal.commands.annotation.Subcommand;
import revxrsal.commands.annotation.Usage;
import revxrsal.commands.annotation.*;
import revxrsal.commands.bukkit.annotation.CommandPermission;

import java.util.ArrayList;
Expand Down Expand Up @@ -65,7 +59,7 @@ public SpeedBridgeCommand(final PlayerService playerService, final IslandService
this.islandService = islandService;
}

@Default
@DefaultFor("~")
@Description("The Main Command")
public String defaultCommand() {
return INSTANCE.noArgument;
Expand Down Expand Up @@ -376,7 +370,6 @@ private Optional<Island> getRandomIsland() {
@RestrictDummyModel
@RestrictSetup
@RestrictConsole
@Default
public String onStartSetup(final BridgePlayer bridgePlayer, final Island island) {
if (!isGeneralSetupComplete(bridgePlayer)) {
return "";
Expand Down

0 comments on commit 5aa13d2

Please sign in to comment.