chore: remove redundant DyeColor from bed

It's not even used.
This commit is contained in:
Ampflower 🌺 2025-03-12 09:55:17 -07:00
parent 2da7320c43
commit 890492ea63
No known key found for this signature in database
GPG Key ID: FC0397C90D508D7F

View File

@ -4,18 +4,14 @@ import gay.pridecraft.joy.registry.JoyBlockEntityTypes;
import net.minecraft.block.BlockState;
import net.minecraft.block.entity.BlockEntity;
import net.minecraft.network.packet.s2c.play.BlockEntityUpdateS2CPacket;
import net.minecraft.util.DyeColor;
import net.minecraft.util.math.BlockPos;
public class JoyBedBlockEntity extends BlockEntity {
public DyeColor color;
public JoyBedBlockEntity(BlockPos pos, BlockState state) {
super(JoyBlockEntityTypes.JOY_BED_BLOCK_ENTITY, pos, state);
this.color = DyeColor.WHITE;
}
public BlockEntityUpdateS2CPacket toUpdatePacket() {
return BlockEntityUpdateS2CPacket.create(this);
}
}
}