Skip to content

Commit 452b099

Browse files
authored
Merge pull request #33 from Mxpea/Dev1
修改了一处缩写错误
2 parents af10a09 + 52676ad commit 452b099

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/main/java/io/github/mxpea/fadingshadow/FadingShadowClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ static void onClientSetup(FMLClientSetupEvent event) {
4848
// Some client setup code
4949
FadingShadow.LOGGER.info("hi from the void");
5050
FadingShadow.LOGGER.info("MINECRAFT NAME >> {}", Minecraft.getInstance().getUser().getName());
51-
BlockEntityRenderers.register(ModBlockEntities.SRC.get(), AnimatedBlockRender::new);
51+
BlockEntityRenderers.register(ModBlockEntities.SRA.get(), AnimatedBlockRender::new);
5252
}
5353

5454
//这个是用来添加酿造台配方的

src/main/java/io/github/mxpea/fadingshadow/block/entity/AnimatedBlockEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class AnimatedBlockEntity extends BlockEntity implements GeoBlockEntity {
2323
private AnimatableInstanceCache cache = new SingletonAnimatableInstanceCache(this);
2424

2525
public AnimatedBlockEntity(BlockPos pos, BlockState blockState) {
26-
super(ModBlockEntities.SRC.get(), pos, blockState);
26+
super(ModBlockEntities.SRA.get(), pos, blockState);
2727
}
2828

2929

src/main/java/io/github/mxpea/fadingshadow/block/entity/ModBlockEntities.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class ModBlockEntities {
1313
public static final DeferredRegister<BlockEntityType<?>> BLOCK_ENTITIES =
1414
DeferredRegister.create(Registries.BLOCK_ENTITY_TYPE, FadingShadow.MODID);
1515

16-
public static final DeferredHolder<BlockEntityType<?>, BlockEntityType<AnimatedBlockEntity>> SRC =
16+
public static final DeferredHolder<BlockEntityType<?>, BlockEntityType<AnimatedBlockEntity>> SRA =
1717
BLOCK_ENTITIES.register("src", () ->
1818
BlockEntityType.Builder.of(AnimatedBlockEntity::new,
1919
ModBlock.scranton_reality_anchors.get()).build(null));

0 commit comments

Comments
 (0)