Skip to content

Commit

Permalink
Fixed a startup crash when mod is used with BetterNether
Browse files Browse the repository at this point in the history
  • Loading branch information
apace100 committed Jun 30, 2020
1 parent 8ab6bb5 commit 891727f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G
loader_version=0.8.8+build.202

# Mod Properties
mod_version = 1.16-0.1.1
mod_version = 1.16-0.1.2
maven_group = io.github.apace100.origins
archives_base_name = Origins

Expand Down
10 changes: 4 additions & 6 deletions src/main/java/io/github/apace100/origins/registry/ModTags.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@

public class ModTags {

public static Tag<Item> MEAT;
public static Tag<Block> UNPHASABLE;
public static Tag<Block> NATURAL_STONE;
public static final Tag<Item> MEAT = TagRegistry.item(new Identifier(Origins.MODID, "meat"));
public static final Tag<Block> UNPHASABLE = TagRegistry.block(new Identifier(Origins.MODID, "unphasable"));
public static final Tag<Block> NATURAL_STONE = TagRegistry.block(new Identifier(Origins.MODID, "natural_stone"));

public static void register() {
MEAT = TagRegistry.item(new Identifier(Origins.MODID, "meat"));
UNPHASABLE = TagRegistry.block(new Identifier(Origins.MODID, "unphasable"));
NATURAL_STONE = TagRegistry.block(new Identifier(Origins.MODID, "natural_stone"));

}
}

0 comments on commit 891727f

Please sign in to comment.