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

Update upstream #36

Merged
merged 3 commits into from
Jan 13, 2025
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
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent

plugins {
java // TODO java launcher tasks
id("io.papermc.paperweight.patcher") version "2.0.0-beta.12"
id("io.papermc.paperweight.patcher") version "2.0.0-beta.13"
}

paperweight {
Expand Down
2 changes: 1 addition & 1 deletion cheetah-server/build.gradle.kts.patch
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
dependencies {
- implementation(project(":paper-api"))
+ implementation(project(":cheetah-api"))
implementation("ca.spottedleaf:concurrentutil:0.0.2")
implementation("ca.spottedleaf:concurrentutil:0.0.3")
implementation("org.jline:jline-terminal-ffm:3.27.1") // use ffm on java 22+
implementation("org.jline:jline-terminal-jni:3.27.1") // fall back to jni on java 21
@@ -192,14 +_,14 @@
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/net/minecraft/world/entity/projectile/Projectile.java
+++ b/net/minecraft/world/entity/projectile/Projectile.java
@@ -409,7 +_,10 @@
@@ -412,7 +_,10 @@
if (owner instanceof net.minecraft.server.level.ServerPlayer && target instanceof net.minecraft.server.level.ServerPlayer) {
org.bukkit.entity.Player collided = (org.bukkit.entity.Player) target.getBukkitEntity();
org.bukkit.entity.Player shooter = (org.bukkit.entity.Player) owner.getBukkitEntity();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/src/main/java/io/papermc/paper/configuration/GlobalConfiguration.java
+++ b/src/main/java/io/papermc/paper/configuration/GlobalConfiguration.java
@@ -344,6 +_,7 @@
@@ -348,6 +_,7 @@
public IntOr.Default compressionLevel = IntOr.Default.USE_DEFAULT;
@Comment("Defines the leniency distance added on the server to the interaction range of a player when validating interact packets.")
public DoubleOr.Default clientInteractionLeniencyDistance = DoubleOr.Default.USE_DEFAULT;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java
+++ b/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java
@@ -1479,7 +_,10 @@
@@ -1480,7 +_,10 @@
com.destroystokyo.paper.event.entity.ProjectileCollideEvent event = new com.destroystokyo.paper.event.entity.ProjectileCollideEvent(projectile, collided);

if (projectile.getShooter() instanceof Player && collided instanceof Player) {
Expand All @@ -12,7 +12,7 @@
event.setCancelled(true);
return event;
}
@@ -1489,6 +_,15 @@
@@ -1490,6 +_,15 @@
return event;
}
// Paper end
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
group=net.gommehd.cheetah
version=1.21.4-R0.1-SNAPSHOT
mcVersion=1.21.4
paperRef=49d15f6345b59b2085ded0a634336d3406d62fdc
paperRef=1bb3677651770f274404b2a245c9b51cb82b776a

org.gradle.configuration-cache=true
org.gradle.caching=true
Expand Down
Loading