Skip to content

Commit 404b06e

Browse files
committed
Backported fixes to 1.20.1
1 parent bd6f621 commit 404b06e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ org.gradle.jvmargs=-Xmx1G
33

44
# Fabric Properties
55
# check these on https://fabricmc.net/develop
6-
minecraft_version=1.21
7-
yarn_mappings=1.21+build.9
6+
minecraft_version=1.20.1
7+
yarn_mappings=1.20.1+build.10
88
loader_version=0.15.11
99

1010

1111
# Mod Properties
12-
mod_version = 1.4.0
12+
mod_version = 1.4.0+1.20.1
1313
maven_group = me.emafire003.dev
1414
archives_base_name = beampass
1515

1616
# Dependencies
17-
fabric_version=0.100.6+1.21
17+
fabric_version=0.92.2+1.20.1
1818

src/main/java/me/emafire003/dev/beampass/BeamPass.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static List<String> convertFromBlockList(List<Block> typelist){
6161
public static List<Block> convertToBlockList(List<String> typelist){
6262
List<Block> list = new ArrayList<>();
6363
for(String type : typelist){
64-
Block block = Registries.BLOCK.get(Identifier.of(type));
64+
Block block = Registries.BLOCK.get(Identifier.tryParse(type));
6565
list.add(block);
6666

6767
}

0 commit comments

Comments
 (0)