aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/client/CottonInventoryScreen.java4
-rw-r--r--src/main/resources/fabric.mod.json2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/client/CottonInventoryScreen.java b/src/main/java/io/github/cottonmc/cotton/gui/client/CottonInventoryScreen.java
index 824cbc2..87d9453 100644
--- a/src/main/java/io/github/cottonmc/cotton/gui/client/CottonInventoryScreen.java
+++ b/src/main/java/io/github/cottonmc/cotton/gui/client/CottonInventoryScreen.java
@@ -281,8 +281,8 @@ public class CottonInventoryScreen<T extends SyncedGuiDescription> extends Handl
}
@Override
- public void tick() {
- super.tick();
+ protected void handledScreenTick() {
+ super.handledScreenTick();
if (description!=null) {
WPanel root = description.getRootPanel();
if (root!=null) {
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
index be927dd..4aac69a 100644
--- a/src/main/resources/fabric.mod.json
+++ b/src/main/resources/fabric.mod.json
@@ -26,7 +26,7 @@
"depends": {
"fabricloader": ">=0.11.0",
"fabric": "*",
- "minecraft": ">=1.17.0",
+ "minecraft": ">=1.17.1-",
"jankson": "^3.0.0",
"fabric-networking-api-v1": "^1.0.0",
"libninepatch": "^1.1.0"