mirror of
https://github.com/TeamMidnightDust/MidnightControls.git
synced 2025-12-13 07:15:10 +01:00
Fix gradle stupidity.
This commit is contained in:
15
build.gradle
15
build.gradle
@@ -1,6 +1,19 @@
|
||||
buildscript {
|
||||
dependencies {
|
||||
constraints {
|
||||
["asm", "asm-util", "asm-tree", "asm-analysis"].each {
|
||||
classpath("org.ow2.asm:$it") {
|
||||
version { require("9.1") }
|
||||
because("Fabric's TinyRemapper requires ASM 9")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'java-library'
|
||||
id 'fabric-loom' version '0.6-SNAPSHOT'
|
||||
id 'java-library'
|
||||
id 'maven-publish'
|
||||
id 'com.github.johnrengelman.shadow' version '6.1.0'
|
||||
id 'org.cadixdev.licenser' version '0.5.0'
|
||||
|
||||
@@ -604,7 +604,7 @@ public class LambdaInput {
|
||||
return true;
|
||||
} else if (focused instanceof WorldListWidget) {
|
||||
WorldListWidget list = (WorldListWidget) focused;
|
||||
list.method_20159().ifPresent(WorldListWidget.Entry::play);
|
||||
list.getSelectedAsOptional().ifPresent(WorldListWidget.Entry::play);
|
||||
return true;
|
||||
} else if (focused instanceof MultiplayerServerListWidget) {
|
||||
MultiplayerServerListWidget list = (MultiplayerServerListWidget) focused;
|
||||
|
||||
Reference in New Issue
Block a user