Skip to content

Commit

Permalink
address reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed May 29, 2024
1 parent 5268b68 commit 23eb2ac
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.item.crafting.Ingredient;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.Blocks;
import net.neoforged.neoforge.common.NeoForgeMod;
import org.jetbrains.annotations.Nullable;

Expand Down Expand Up @@ -52,7 +53,7 @@ protected void dissolve() {
}

if (list.isEmpty()) {
ItemStack itemStack = new ItemStack(net.minecraft.world.level.block.Blocks.BARRIER);
ItemStack itemStack = new ItemStack(Blocks.BARRIER);
itemStack.set(DataComponents.CUSTOM_NAME, Component.literal("Empty Tag: " + this.tag.location()));
list.add(itemStack);
}
Expand Down

0 comments on commit 23eb2ac

Please sign in to comment.