Browse Source

Fix compile error in 1.16.4 (apparently override visibility is forwards compatible so 1.16.2+ build still works)

chylex 4 năm trước cách đây
mục cha
commit
b7d4af6182

+ 4 - 5
gradle.properties

@@ -2,14 +2,13 @@
 org.gradle.jvmargs=-Xmx1G
 
 # Fabric Properties
-minecraft_version=1.16.3
-yarn_mappings=1.16.3+build.47
-loader_version=0.10.2+build.210
+minecraft_version=1.16.4
+yarn_mappings=1.16.4+build.1
+loader_version=0.10.6+build.214
 
 # Mod Properties
 mod_version=1.1.0
 maven_group=chylex.bettercontrols
 archives_base_name=BetterControls-1.16.2+
 
-# https://fabricmc.net/use
-# https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
+# https://modmuss50.me/fabric.html

+ 1 - 1
src/main/java/chylex/bettercontrols/gui/OptionListWidget.java

@@ -63,7 +63,7 @@ public final class OptionListWidget extends ElementListWidget<Entry>{
 	}
 	
 	@Override
-	protected int getRowLeft(){
+	public int getRowLeft(){
 		return super.getRowLeft() - ROW_PADDING;
 	}