Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix -noverify breaking plugin launch #37

Merged
merged 1 commit into from
Oct 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading