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 2, 2023
1 parent 7e8d5d2 commit a5b5078
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.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

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 a5b5078

Please sign in to comment.