Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
gabber235 committed Dec 16, 2024
1 parent 09bdc82 commit 5eb3c72
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-development-jars-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
loaders: |
paper
game-versions: |
[1.21, 1.21.1]
1.21.3
dependencies: |
packetevents
Expand Down
14 changes: 6 additions & 8 deletions engine/engine-paper/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ dependencies {
for (dependency in centralDependencies) {
compileOnlyApi(dependency)
}
compileOnlyApi("io.papermc.paper:paper-api:1.21-R0.1-SNAPSHOT")
compileOnlyApi("io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT")

api(project(":engine-core"))
api(project(":engine-loader"))

api("me.tofaa.entitylib:spigot:3.0.3-SNAPSHOT")
api("me.tofaa.entitylib:spigot:+39cce79-SNAPSHOT")
api("com.github.shynixn.mccoroutine:mccoroutine-bukkit-api:2.20.0")
api("com.github.shynixn.mccoroutine:mccoroutine-bukkit-core:2.20.0")
api("dev.jorel:commandapi-bukkit-shade:9.6.1")
api("dev.jorel:commandapi-bukkit-kotlin:9.6.1")
api("dev.jorel:commandapi-bukkit-shade:9.7.0")
api("dev.jorel:commandapi-bukkit-kotlin:9.7.0")

// Doesn't want to load properly using the spigot api.
implementation("io.ktor:ktor-server-core-jvm:2.3.12")
Expand All @@ -56,12 +56,10 @@ dependencies {
compileOnlyApi("net.kyori:adventure-text-serializer-legacy:$adventureVersion")
compileOnlyApi("net.kyori:adventure-text-serializer-gson:$adventureVersion")

compileOnlyApi("com.github.retrooper:packetevents-api:2.6.0-SNAPSHOT")
compileOnlyApi("com.github.retrooper:packetevents-spigot:2.6.0-SNAPSHOT")
compileOnlyApi("com.github.retrooper:packetevents-api:2.7.0-SNAPSHOT")
compileOnlyApi("com.github.retrooper:packetevents-spigot:2.7.0-SNAPSHOT")
compileOnly("me.clip:placeholderapi:2.11.6")
compileOnlyApi("org.geysermc.floodgate:api:2.2.3-SNAPSHOT")

testImplementation("org.mockbukkit.mockbukkit:mockbukkit-v1.21:4.3.1")
}

tasks.withType<ShadowJar> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class PlayerRadiusInteractionBound(
val zoom = calculateZoom(distance)
val modifier = AttributeModifier(key, zoom, AttributeModifier.Operation.MULTIPLY_SCALAR_1)

player.getAttribute(Attribute.GENERIC_MOVEMENT_SPEED)?.let { attribute ->
player.getAttribute(Attribute.MOVEMENT_SPEED)?.let { attribute ->
attribute.removeModifier(key)

attribute.addModifier(modifier)
Expand Down Expand Up @@ -97,7 +97,9 @@ class PlayerRadiusInteractionBound(
}

override fun teardown() {
player.getAttribute(Attribute.GENERIC_MOVEMENT_SPEED)?.removeModifier(key)
if (zoom) {
player.getAttribute(Attribute.MOVEMENT_SPEED)?.removeModifier(key)
}
super.teardown()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class LookAtNpcInteractionBound(
val zoom = calculateZoom(distance)
val modifier = AttributeModifier(key, zoom, AttributeModifier.Operation.MULTIPLY_SCALAR_1)

player.getAttribute(Attribute.GENERIC_MOVEMENT_SPEED)?.let { attribute ->
player.getAttribute(Attribute.MOVEMENT_SPEED)?.let { attribute ->
attribute.removeModifier(key)

attribute.addModifier(modifier)
Expand Down Expand Up @@ -169,7 +169,7 @@ class LookAtNpcInteractionBound(
}

override fun teardown() {
player.getAttribute(Attribute.GENERIC_MOVEMENT_SPEED)?.removeModifier(key)
player.getAttribute(Attribute.MOVEMENT_SPEED)?.removeModifier(key)
super.teardown()
}
}
Expand Down
6 changes: 5 additions & 1 deletion extensions/WorldGuardExtension/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ repositories {
}

dependencies {
compileOnly("com.sk89q.worldguard:worldguard-bukkit:7.0.11-SNAPSHOT")
compileOnly("com.sk89q.worldguard:worldguard-bukkit:7.0.13-SNAPSHOT") {
exclude(group = "com.google.guava")
exclude(group = "com.google.code.gson")
exclude(group = "it.unimi.dsi")
}
}

typewriter {
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.0
0.8.0

0 comments on commit 5eb3c72

Please sign in to comment.