diff --git a/gradle.properties b/gradle.properties index 669401f..99234f6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ group=me.samsuik.sakura version=1.21.10-R0.1-SNAPSHOT mcVersion=1.21.10 -paperRef=1f31ee5ebe45d97a596a4429d9871e3f8910cd28 +paperRef=92ed3f00b13692d349ba09d6ab34794ca46b37fa org.gradle.jvmargs=-Xmx2G org.gradle.vfs.watch=false diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ca025c8..23449a2 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/sakura-server/build.gradle.kts.patch b/sakura-server/build.gradle.kts.patch index bbb28d3..bd9084f 100644 --- a/sakura-server/build.gradle.kts.patch +++ b/sakura-server/build.gradle.kts.patch @@ -54,7 +54,7 @@ dependencies { - implementation(project(":paper-api")) + implementation(project(":$serverBrand-api")) - implementation("ca.spottedleaf:concurrentutil:0.0.5") + implementation("ca.spottedleaf:concurrentutil:0.0.7") 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 @@ -204,7 +_,7 @@ diff --git a/sakura-server/paper-patches/features/0001-Client-Visibility-Settings.patch b/sakura-server/paper-patches/features/0001-Client-Visibility-Settings.patch index e283326..cf7313d 100644 --- a/sakura-server/paper-patches/features/0001-Client-Visibility-Settings.patch +++ b/sakura-server/paper-patches/features/0001-Client-Visibility-Settings.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Client Visibility Settings diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java -index 24751f4afa1ce6cd45d2210cbf59674508e58623..ceef50ba9f0da11b6c06122fcae44124ceae3f9d 100644 +index e8bd5c63c9d7ea9f0ba847b897ebb6072f40a4dc..7251ea305abb977d66d8c37a0094cdbf4e0d74cf 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java -@@ -2157,6 +2157,11 @@ public class CraftPlayer extends CraftHumanEntity implements Player, PluginMessa +@@ -2174,6 +2174,11 @@ public class CraftPlayer extends CraftHumanEntity implements Player, PluginMessa handle.expToDrop = data.getIntOr("expToDrop", 0); handle.keepLevel = data.getBooleanOr("keepLevel", false); }); @@ -20,7 +20,7 @@ index 24751f4afa1ce6cd45d2210cbf59674508e58623..ceef50ba9f0da11b6c06122fcae44124 } public void setExtraData(ValueOutput output) { -@@ -2178,6 +2183,10 @@ public class CraftPlayer extends CraftHumanEntity implements Player, PluginMessa +@@ -2195,6 +2200,10 @@ public class CraftPlayer extends CraftHumanEntity implements Player, PluginMessa paper.putLong("LastLogin", handle.loginTime); paper.putLong("LastSeen", System.currentTimeMillis()); // Paper end @@ -31,7 +31,7 @@ index 24751f4afa1ce6cd45d2210cbf59674508e58623..ceef50ba9f0da11b6c06122fcae44124 } @Override -@@ -2756,6 +2765,13 @@ public class CraftPlayer extends CraftHumanEntity implements Player, PluginMessa +@@ -2762,6 +2771,13 @@ public class CraftPlayer extends CraftHumanEntity implements Player, PluginMessa return this.getHandle().allowsListing(); } diff --git a/sakura-server/paper-patches/files/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java.patch b/sakura-server/paper-patches/files/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java.patch index 8d27175..42fe0dc 100644 --- a/sakura-server/paper-patches/files/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java.patch +++ b/sakura-server/paper-patches/files/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java.patch @@ -1,6 +1,6 @@ --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java -@@ -243,6 +_,18 @@ +@@ -251,6 +_,18 @@ this.firstPlayed = System.currentTimeMillis(); }