diff --git a/gradle.properties b/gradle.properties index 174653c..ab6d6db 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,15 +3,15 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/use - minecraft_version=1.16.4 - yarn_mappings=1.16.4+build.7 - loader_version=0.10.8 + minecraft_version=1.16.5 + yarn_mappings=1.16.5+build.5 + loader_version=0.11.2 # Mod Properties - mod_version = 0.1.6 + mod_version = 0.2.0.0-SNAPSHOT maven_group = pm.j4 archives_base_name = kerosene # Dependencies # currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api - fabric_version=0.28.1+1.16 + fabric_version=0.31.0+1.16 diff --git a/src/main/java/pm/j4/kerosene/gui/PModuleConfigurationWidget.java b/src/main/java/pm/j4/kerosene/gui/PModuleConfigurationWidget.java index 595e08b..cba2063 100644 --- a/src/main/java/pm/j4/kerosene/gui/PModuleConfigurationWidget.java +++ b/src/main/java/pm/j4/kerosene/gui/PModuleConfigurationWidget.java @@ -96,8 +96,8 @@ public class PModuleConfigurationWidget extends AlwaysSelectedEntryListWidget= (double) getRowLeft() && x <= (double) (getRowLeft() + getRowWidth()) && index >= 0 && i >= 0 && - index < this.getItemCount() ? this.children().get(index) : null; + index < this.getEntryCount() ? this.children().get(index) : null; } @Override