Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
UnlikePaladin committed Dec 24, 2023
1 parent 3b3a3af commit 7ad0962
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,13 @@
import net.minecraft.world.World;

public class BathtubBlockEntity extends BedBlockEntity {
private final BlockEntityType<?> type;
public BathtubBlockEntity(BlockPos pos, BlockState state) {
super(pos, state, DyeColor.WHITE);
this.type = BlockEntities.BATHTUB_BLOCK_ENTITY;
}

@Override
public BlockEntityType<?> getType() {
return type;
return BlockEntities.BATHTUB_BLOCK_ENTITY;
}

private int fillTimer = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,12 @@
import net.minecraft.util.math.BlockPos;

public class PFMBedBlockEntity extends BedBlockEntity implements DyeableFurnitureBlockEntity<PFMBedBlockEntity> {
private final BlockEntityType<?> type;
public PFMBedBlockEntity(BlockPos pos, BlockState state, DyeColor color) {
super(pos, state, color);
type = BlockEntities.BED_BLOCK_ENTITY;
}

public PFMBedBlockEntity(BlockPos pos, BlockState state) {
super(pos, state);
type = BlockEntities.BED_BLOCK_ENTITY;
}

@Override
Expand All @@ -44,6 +41,6 @@ public PFMBedBlockEntity getEntity() {

@Override
public BlockEntityType<?> getType() {
return type;
return BlockEntities.BED_BLOCK_ENTITY;
}
}

0 comments on commit 7ad0962

Please sign in to comment.