From a5b5078371d4050a4a38e099217f43226cddf344 Mon Sep 17 00:00:00 2001 From: glisco Date: Sat, 2 Dec 2023 02:40:19 +0100 Subject: [PATCH] remove erroneous '@Environment(EnvType.SERVER)' on ShopScreenHandler.shop to fix compatibility with fabric loader >=0.15.0 (#113) --- gradle.properties | 4 ++-- .../glisco/numismaticoverhaul/block/ShopScreenHandler.java | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 51e270a..9e392b7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,10 +6,10 @@ org.gradle.jvmargs=-Xmx1G minecraft_base_version=1.20.2 minecraft_version=1.20.2 yarn_mappings=1.20.2+build.2 - loader_version=0.14.22 + loader_version=0.15.0 # Mod Properties - mod_version=0.2.10 + mod_version=0.2.11 maven_group=com.glisco archives_base_name=numismatic-overhaul diff --git a/src/main/java/com/glisco/numismaticoverhaul/block/ShopScreenHandler.java b/src/main/java/com/glisco/numismaticoverhaul/block/ShopScreenHandler.java index 76cbe88..6e4314b 100644 --- a/src/main/java/com/glisco/numismaticoverhaul/block/ShopScreenHandler.java +++ b/src/main/java/com/glisco/numismaticoverhaul/block/ShopScreenHandler.java @@ -31,7 +31,6 @@ public class ShopScreenHandler extends ScreenHandler { private final List offers; - @Environment(EnvType.SERVER) private ShopBlockEntity shop = null; public ShopScreenHandler(int syncId, PlayerInventory playerInventory) {