Skip to content

Commit

Permalink
Fixed an issue where jineric trapped chests
Browse files Browse the repository at this point in the history
They were not using the right block entity type

Signed-off-by: Jingy <[email protected]>
  • Loading branch information
Jiingy committed Nov 1, 2023
1 parent a59d6d0 commit 7aaddf7
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import jingy.jineric.base.JinericMain;
import jingy.jineric.block.JinericBlocks;
import jingy.jineric.block.entity.JinericChestBlockEntity;
import jingy.jineric.block.entity.JinericTrappedChestBlockEntity;
import jingy.jineric.block.entity.RedstoneCampfireBlockEntity;
import jingy.jineric.block.entity.RefineryBlockEntity;
import net.fabricmc.fabric.api.object.builder.v1.block.entity.FabricBlockEntityTypeBuilder;
Expand All @@ -27,9 +28,9 @@ public class JinericBlockEntityType {
JinericBlocks.CRIMSON_CHEST,
JinericBlocks.WARPED_CHEST
).build();
public static final BlockEntityType<JinericChestBlockEntity> JINERIC_TRAPPED_CHEST =
public static final BlockEntityType<JinericTrappedChestBlockEntity> JINERIC_TRAPPED_CHEST =
FabricBlockEntityTypeBuilder.create(
JinericChestBlockEntity::new,
JinericTrappedChestBlockEntity::new,
JinericBlocks.TRAPPED_SPRUCE_CHEST,
JinericBlocks.TRAPPED_BIRCH_CHEST,
JinericBlocks.TRAPPED_JUNGLE_CHEST,
Expand Down

0 comments on commit 7aaddf7

Please sign in to comment.