Skip to content

Commit

Permalink
remove erroneous '@Environment(EnvType.SERVER)' on ShopScreenHandler.…
Browse files Browse the repository at this point in the history
…shop to fix compatibility with fabric loader >=0.15.0 (#113)
  • Loading branch information
gliscowo committed Dec 9, 2023
1 parent 72c7280 commit 9fbf247
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ org.gradle.jvmargs=-Xmx1G
minecraft_base_version=1.19
minecraft_version=1.19.2
yarn_mappings=1.19.2+build.9
loader_version=0.14.9
loader_version=0.15.0

# Mod Properties
mod_version=0.2.9
mod_version=0.2.10
maven_group=com.glisco
archives_base_name=numismatic-overhaul

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public class ShopScreenHandler extends ScreenHandler {

private final List<ShopOffer> offers;

@Environment(EnvType.SERVER)
private ShopBlockEntity shop = null;

public ShopScreenHandler(int syncId, PlayerInventory playerInventory) {
Expand Down

0 comments on commit 9fbf247

Please sign in to comment.