Skip to content

Commit

Permalink
Merge pull request #35 from GiganticMinecraft/feat/1_16_5
Browse files Browse the repository at this point in the history
feat: 1.16.5
  • Loading branch information
rito528 authored May 18, 2023
2 parents c255f8a + 518c654 commit a2fa612
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ runs:
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ group = "com.github.sigureruri"
version = semver.version

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

tasks.withType(JavaCompile::class) {
Expand All @@ -27,7 +27,7 @@ repositories {
}

dependencies {
compileOnly("org.spigotmc:spigot-api:1.12.2-R0.1-SNAPSHOT")
compileOnly("org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT")
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.8.21")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ class SpectatorTheater : JavaPlugin() {

server.pluginManager.registerEvents(SpectatorTheaterListener(), this)

getCommand("spectatortheater").executor = SpectatorTheaterCommand()
// NOTE: avoid Val cannot be reassigned
getCommand("spectatortheater")?.setExecutor(SpectatorTheaterCommand())

EverySecondTask().runTaskTimer(this, 20, 20)
}
Expand Down

0 comments on commit a2fa612

Please sign in to comment.