Port to MC 1.19.2 (fixes #801)
This commit is contained in:
@@ -250,6 +250,7 @@ dependencies {
|
|||||||
11802: '1.18.2',
|
11802: '1.18.2',
|
||||||
11900: '1.19',
|
11900: '1.19',
|
||||||
11901: '1.19.1',
|
11901: '1.19.1',
|
||||||
|
11902: '1.19.2',
|
||||||
][mcVersion]
|
][mcVersion]
|
||||||
mappings 'net.fabricmc:yarn:' + [
|
mappings 'net.fabricmc:yarn:' + [
|
||||||
11404: '1.14.4+build.16',
|
11404: '1.14.4+build.16',
|
||||||
@@ -264,8 +265,9 @@ dependencies {
|
|||||||
11802: '1.18.2+build.1:v2',
|
11802: '1.18.2+build.1:v2',
|
||||||
11900: '1.19+build.2:v2',
|
11900: '1.19+build.2:v2',
|
||||||
11901: '1.19.1+build.5:v2',
|
11901: '1.19.1+build.5:v2',
|
||||||
|
11902: '1.19.2+build.28:v2',
|
||||||
][mcVersion]
|
][mcVersion]
|
||||||
modImplementation 'net.fabricmc:fabric-loader:0.14.6'
|
modImplementation 'net.fabricmc:fabric-loader:0.14.11'
|
||||||
def fabricApiVersion = [
|
def fabricApiVersion = [
|
||||||
11404: '0.4.3+build.247-1.14',
|
11404: '0.4.3+build.247-1.14',
|
||||||
11502: '0.5.1+build.294-1.15',
|
11502: '0.5.1+build.294-1.15',
|
||||||
@@ -279,6 +281,7 @@ dependencies {
|
|||||||
11802: '0.47.9+1.18.2',
|
11802: '0.47.9+1.18.2',
|
||||||
11900: '0.55.3+1.19',
|
11900: '0.55.3+1.19',
|
||||||
11901: '0.58.5+1.19.1',
|
11901: '0.58.5+1.19.1',
|
||||||
|
11902: '0.68.0+1.19.2',
|
||||||
][mcVersion]
|
][mcVersion]
|
||||||
def fabricApiModules = [
|
def fabricApiModules = [
|
||||||
"api-base",
|
"api-base",
|
||||||
|
|||||||
2
jGui
2
jGui
Submodule jGui updated: aa031212c7...360b2541d2
@@ -193,6 +193,7 @@ val doRelease by tasks.registering {
|
|||||||
defaultTasks("bundleJar")
|
defaultTasks("bundleJar")
|
||||||
|
|
||||||
preprocess {
|
preprocess {
|
||||||
|
val mc11902 = createNode("1.19.2", 11902, "yarn")
|
||||||
val mc11901 = createNode("1.19.1", 11901, "yarn")
|
val mc11901 = createNode("1.19.1", 11901, "yarn")
|
||||||
val mc11900 = createNode("1.19", 11900, "yarn")
|
val mc11900 = createNode("1.19", 11900, "yarn")
|
||||||
val mc11802 = createNode("1.18.2", 11802, "yarn")
|
val mc11802 = createNode("1.18.2", 11802, "yarn")
|
||||||
@@ -215,6 +216,7 @@ preprocess {
|
|||||||
val mc10800 = createNode("1.8", 10800, "srg")
|
val mc10800 = createNode("1.8", 10800, "srg")
|
||||||
val mc10710 = createNode("1.7.10", 10710, "srg")
|
val mc10710 = createNode("1.7.10", 10710, "srg")
|
||||||
|
|
||||||
|
mc11902.link(mc11901)
|
||||||
mc11901.link(mc11900)
|
mc11901.link(mc11900)
|
||||||
mc11900.link(mc11802, file("versions/mapping-fabric-1.19-1.18.2.txt"))
|
mc11900.link(mc11802, file("versions/mapping-fabric-1.19-1.18.2.txt"))
|
||||||
mc11802.link(mc11801)
|
mc11802.link(mc11801)
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ val jGuiVersions = listOf(
|
|||||||
"1.18.2",
|
"1.18.2",
|
||||||
"1.19",
|
"1.19",
|
||||||
"1.19.1",
|
"1.19.1",
|
||||||
|
"1.19.2",
|
||||||
)
|
)
|
||||||
val replayModVersions = listOf(
|
val replayModVersions = listOf(
|
||||||
// "1.7.10",
|
// "1.7.10",
|
||||||
@@ -58,6 +59,7 @@ val replayModVersions = listOf(
|
|||||||
"1.18.2",
|
"1.18.2",
|
||||||
"1.19",
|
"1.19",
|
||||||
"1.19.1",
|
"1.19.1",
|
||||||
|
"1.19.2",
|
||||||
)
|
)
|
||||||
|
|
||||||
rootProject.buildFileName = "root.gradle.kts"
|
rootProject.buildFileName = "root.gradle.kts"
|
||||||
|
|||||||
0
versions/1.19.2/.gitkeep
Normal file
0
versions/1.19.2/.gitkeep
Normal file
@@ -9,7 +9,11 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
|
|||||||
|
|
||||||
@Mixin(PlayerPublicKey.PublicKeyData.class)
|
@Mixin(PlayerPublicKey.PublicKeyData.class)
|
||||||
public abstract class Mixin_AllowExpiredPlayerKeys {
|
public abstract class Mixin_AllowExpiredPlayerKeys {
|
||||||
|
//#if MC>=11902
|
||||||
|
//$$ @Inject(method = { "isExpired()Z", "isExpired(Ljava/time/Duration;)Z" }, at = @At("HEAD"), cancellable = true)
|
||||||
|
//#else
|
||||||
@Inject(method = "isExpired", at = @At("HEAD"), cancellable = true)
|
@Inject(method = "isExpired", at = @At("HEAD"), cancellable = true)
|
||||||
|
//#endif
|
||||||
private void neverExpireWhenInReplay(CallbackInfoReturnable<Boolean> ci) {
|
private void neverExpireWhenInReplay(CallbackInfoReturnable<Boolean> ci) {
|
||||||
if (ReplayModReplay.instance.getReplayHandler() != null) {
|
if (ReplayModReplay.instance.getReplayHandler() != null) {
|
||||||
ci.setReturnValue(false);
|
ci.setReturnValue(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user