Skip to content

Commit 991b3e7

Browse files
mooziiijakobkmar
authored andcommitted
Paper 1.19.3
1 parent e140411 commit 991b3e7

5 files changed

Lines changed: 15 additions & 15 deletions

File tree

build.gradle.kts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,33 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
33
val githubRepo = "jakobkmar/KSpigot"
44

55
group = "net.axay"
6-
version = "1.19.0"
6+
version = "1.19.1"
77

88
description = "A Kotlin API for Minecraft plugins using the Spigot or Paper toolchain"
99

1010
plugins {
11-
kotlin("jvm") version "1.7.0"
12-
kotlin("plugin.serialization") version "1.7.0"
11+
kotlin("jvm") version "1.7.22"
12+
kotlin("plugin.serialization") version "1.7.22"
1313

1414
`java-library`
1515
`maven-publish`
1616
signing
1717

18-
id("org.jetbrains.dokka") version "1.6.21"
18+
id("org.jetbrains.dokka") version "1.7.20"
1919

20-
id("io.papermc.paperweight.userdev") version "1.3.6"
20+
id("io.papermc.paperweight.userdev") version "1.4.0"
2121
}
2222

2323
repositories {
2424
mavenCentral()
2525
}
2626

2727
dependencies {
28-
paperDevBundle("1.19-R0.1-SNAPSHOT")
28+
paperDevBundle("1.19.3-R0.1-SNAPSHOT")
2929

30-
api("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.3")
31-
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.2")
32-
api("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.6.2")
30+
api("org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1")
31+
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
32+
api("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.6.4")
3333
}
3434

3535
tasks {

src/main/kotlin/net/axay/kspigot/commands/internal/BrigardierSupport.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ object BrigardierSupport {
3333
}
3434

3535
@Suppress("HasPlatformType")
36-
fun resolveCommandManager() = (server as org.bukkit.craftbukkit.v1_19_R1.CraftServer)
36+
fun resolveCommandManager() = (server as org.bukkit.craftbukkit.v1_19_R2.CraftServer)
3737
.server.vanillaCommandDispatcher
3838

3939
internal fun registerAll() {
@@ -52,7 +52,7 @@ object BrigardierSupport {
5252
fun updateCommandTree() {
5353
onlinePlayers.forEach {
5454
// send the command tree
55-
resolveCommandManager().sendCommands((it as org.bukkit.craftbukkit.v1_19_R1.entity.CraftPlayer).handle)
55+
resolveCommandManager().sendCommands((it as org.bukkit.craftbukkit.v1_19_R2.entity.CraftPlayer).handle)
5656
}
5757
}
5858
}

src/main/kotlin/net/axay/kspigot/data/NBTDataLoader.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ package net.axay.kspigot.data
44

55
import net.axay.kspigot.annotations.NMS_General
66
import net.minecraft.nbt.CompoundTag
7-
import org.bukkit.craftbukkit.v1_19_R1.entity.CraftEntity
8-
import org.bukkit.craftbukkit.v1_19_R1.inventory.CraftItemStack
7+
import org.bukkit.craftbukkit.v1_19_R2.entity.CraftEntity
8+
import org.bukkit.craftbukkit.v1_19_R2.inventory.CraftItemStack
99
import org.bukkit.entity.Entity
1010
import org.bukkit.inventory.ItemStack
1111

src/main/kotlin/net/axay/kspigot/extensions/bukkit/EntityExtensions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ fun Player.showOnlinePlayers() {
138138
@Deprecated("This function is unstable and it cannot be guaranteed that it will work at any time in the future.")
139139
@NMS_General
140140
fun Location.spawnCleanEntity(entityType: EntityType): Entity? {
141-
val craftWorld = world as? org.bukkit.craftbukkit.v1_19_R1.CraftWorld ?: return null
141+
val craftWorld = world as? org.bukkit.craftbukkit.v1_19_R2.CraftWorld ?: return null
142142
return craftWorld.createEntity(this, entityType.entityClass)?.let {
143143
craftWorld.handle.addFreshEntity(it)
144144
return@let it.bukkitEntity

src/main/kotlin/net/axay/kspigot/structures/Structure.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import org.bukkit.Location
1010
import org.bukkit.Material
1111
import org.bukkit.block.Block
1212
import org.bukkit.block.data.BlockData
13-
import org.bukkit.craftbukkit.v1_19_R1.entity.CraftEntity
13+
import org.bukkit.craftbukkit.v1_19_R2.entity.CraftEntity
1414
import org.bukkit.entity.Entity
1515
import org.bukkit.entity.EntityType
1616

0 commit comments

Comments
 (0)